|
Hi, I have a MDI project with multiple doc/views.
If I have multiple doc/views open how to I select
a paticular view and bring it to the foreground?
thx
|
|
|
|
|
With SetActive (...); or with SetWindowPos (specifying the Z-Order TOP)
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
Hi dear.
I want to omit CEdit control BORDER style at runtime, but I don't know how to.
Please help me!
Thanks.
|
|
|
|
|
what about removing WS_BORDER style ?
|
|
|
|
|
As you know, it is possible to change the Border of one CEdit control from true to false
(in the Properties Window). So, I want to change the Border of one CEdit control to false
at run time.
Thanks.
|
|
|
|
|
Mohammad Khodaea wrote: As you know,
yes, what do you think i answered then ?
use ModifyStyle()[^] on your CEdit, and remove it the WS_BORDER style I quoted in the previous answer.
If you don't know how to remove a particuliar bit in a DWORD, read this[^] article.
|
|
|
|
|
you try this fuction:
ModifyStyle(WS_BORDER,0,SWP_DRAWFRAME);
it can remove BORDER style from the Edit
|
|
|
|
|
iam encoding some text....after getting the encoded text,then i want to convert this text into bits for modulating purpose..pls give me suggetion to encode some text into bitstream
|
|
|
|
|
if you want help, you should at least indicate the format of the text you get, and how you want it to be transformed...
|
|
|
|
|
i encoded the text "ABC" using CCITT1 encoding technique and i got the text as "#V" now i want to convert this encoded text #V into bitstream.....
|
|
|
|
|
any particuliar format you must have in your bit stream budy ?????
|
|
|
|
|
Mr.toxcct,
i want to generate each Charecter in 8bits and i want to store this genrerated bits in an array..
looking for ur help
|
|
|
|
|
a char is already 8 bits... just store it as is.
what have you tried so far by the way to achieve this ?
|
|
|
|
|
hii everyone.. i am new to vc++.i have a text box on which half the text to display is common and the other half is entered by the user.The common half of message is diplayed in the textbox using SetWindowText but the cursor is displayed at the starting position.I want the cursor to display at the end the text in the textbox. Can anybody help me out
|
|
|
|
|
overload the ON_EN_SETFOCUS event and use myedit.SetSel(theStr.GetLength(), theStr.GetLength()) for instance
|
|
|
|
|
could you be some more specific as im new to vc++ i cannot understand it.
|
|
|
|
|
If you really did not understand what toxcct said, then you must read a book before you could ask questions here.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->ßRÅhmmÃ<-·´¯`·.
|
|
|
|
|
Hi.
You have to create your own CEditEX class, (in example) derivated from CEdit. So then, you will be able to override some messages and use CEdit methods like SetSel() and so on.
Make a search about "windows subclassing" here in CP and you will find a lot of articles.
Kind regards.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
I have to think about a development involving mobil phones and security cameras.
The fact is, someone could check a security camera from his cell phone anywhere.
What I need it's just something to read, maybe someone of you had seen an article about that before.
I thought in JAVA for cell phone software client and in C++, (or C#) for server side application that receive the incomming connection from phones.
I really appreciate any suggestion.
Thank you very much.
Cheers.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
Hello all,
I am having two exe's and i am calling one exe from another exe using ShellExecute() function. My problem is i want to pass some variable values from one exe to another. How can i do this??
Thanks in advance
|
|
|
|
|
neha.agarwal27 wrote: How can i do this??
As commandline...
|
|
|
|
|
Hi.
You could use the Windows registry.
Cheers.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
Demian Panello wrote: You could use the Windows registry.
good software design should not include registry as active place for data share between two application
|
|
|
|
|
neha.agarwal27 wrote: My problem is i want to pass some variable values from one exe to another
when spawning the 2nd program, or during its execution ?
|
|
|
|
|
Hi,
1. If variable is required before starting another exe then pass that variable as command line.
2. If you want to pass variable after starting another exe then use Inter Process Communication such as WM_COPYDATA, Pipes and Shared Memory.
Amar
|
|
|
|