|
I think this will not work..
try this....
simply overide the OnOK() and do not call CDialog::OnOK()
OnOK(){}
Else give Multiline property to edit box
Dream bigger... Do bigger...Expect smaller
aji
-- modified at 7:14 Wednesday 12th July, 2006
|
|
|
|
|
and OnCancel for Esc
whitesky
|
|
|
|
|
You can also aproach PretranslateMessage function
SaRath.
"Where I am from, there is no plan B. So, take advantage of today becuase tomorrow is not promised. - 50 Cent"
My Blog | Understanding State Patte
|
|
|
|
|
PretranslateMessage
Regards,
FarPointer
Blog:FARPOINTER
|
|
|
|
|
set the Want Return style for the edit control.
if u dont want to ur application when the enter key is pressed,
simply overide the OnOK() funtion in the dialog class. Inside that funtion do not call CDialog::OnOK()..
nave
|
|
|
|
|
forgot to say set the multiline property(ES_MULTILINE) also to the edit box.
nave
|
|
|
|
|
Desmo16 wrote:
Hi all,
When i run my MFC application,
if i click in an edit control an
press the "return" button the application
Also make you Edit Control Multiline!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
You can set Want return to true in property window from editbox
whitesky
|
|
|
|
|
Hai
can any one pls tell what is ShellExecute command ? and when do we use it?
Thanks in advance
|
|
|
|
|
|
Try to use msdn...always....
This function is used to start the external exe... from you application .
"A winner is not one who never fails...but the one who never quits"
|
|
|
|
|
Ganesh_T wrote: This function is used to start the external exe...
Actually, it all depends on the verb. The "open" verb is one of many that are used by ShellExecute() .
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
|
Good response - I couldn't remember where that article was.
Darka [Xanya]
|
|
|
|
|
Darka wrote: Good response - I couldn't remember where that article was.
You are Welcome
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
WhiteSky wrote: ee http://www.codeproject.com/system/newbiespawn.asp[^]
Humm.. Our Mind works in same direction
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
oh its very interest for me why! first we have posted two answer same (shellexcute and dialogparam or like this i think you remember there you said Hmmm)
Two this is second happen for me in this site when i answer to questions i see another answers in same time
(1 min = 1min)(13 min = 13min) and now You (maybe its telepathy) I have this problem i think with Nibu Thomas in this site our answers was same in a time and also same answers!
whitesky
|
|
|
|
|
See here.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
will some one u tell me ..where i can the movie clip of water of few min?
thx Regards
NooR
|
|
|
|
|
|
i did already..but i want a still image only where waterfall is just showing the animation.......
NooR
|
|
|
|
|
Darka wrote: have you heard of this new tool called a search engine
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
I created two Win32 DLL projects with VC++ 2005: one with "Export symbols" checked; the other not. I don't see any difference between these two projects.
I was expecting to see some ".def" file or some preprocessor definitions when it is checked. But the files in the solutions are the same. And the preprocessor definitions are the same.
Could anyone point out the difference when "Export symbols" is checked? Thanks!
Maxwell Chen
|
|
|
|
|
I believe the difference is that 'export symbols' will generate the .lib type library, whereas not exporting symbols will not generate it.
Darka [Xanya]
|
|
|
|