Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOpen Filename dialog won't show. Pin
redeemer4-Aug-02 8:43
redeemer4-Aug-02 8:43 
GeneralRe: Open Filename dialog won't show. Pin
Pavel Klocek4-Aug-02 10:06
Pavel Klocek4-Aug-02 10:06 
QuestionHow to link msvcr70.dll into my program in VC++.net Pin
tfElep4-Aug-02 8:40
tfElep4-Aug-02 8:40 
AnswerRe: How to link msvcr70.dll into my program in VC++.net Pin
Philip Patrick4-Aug-02 9:10
professionalPhilip Patrick4-Aug-02 9:10 
GeneralRe: How to link msvcr70.dll into my program in VC++.net Pin
2sky4-Aug-02 9:44
2sky4-Aug-02 9:44 
GeneralRe: How to link msvcr70.dll into my program in VC++.net Pin
2sky4-Aug-02 9:48
2sky4-Aug-02 9:48 
GeneralPrinting in Landscape Pin
Desmond Mardle4-Aug-02 7:17
Desmond Mardle4-Aug-02 7:17 
GeneralRe: Printing in Landscape Pin
Roger Allen4-Aug-02 9:28
Roger Allen4-Aug-02 9:28 
Generalquestion about new and delete[] Pin
nss4-Aug-02 6:37
nss4-Aug-02 6:37 
GeneralRe: question about new and delete[] Pin
Pavel Klocek4-Aug-02 6:48
Pavel Klocek4-Aug-02 6:48 
GeneralRe: question about new and delete[] Pin
nss4-Aug-02 7:24
nss4-Aug-02 7:24 
GeneralRe: question about new and delete[] Pin
Philippe Mori5-Aug-02 7:23
Philippe Mori5-Aug-02 7:23 
Questionhow can I respond Enter Event in a editbox? Pin
Angel Kid4-Aug-02 6:21
Angel Kid4-Aug-02 6:21 
AnswerRe: how can I respond Enter Event in a editbox? Pin
valikac4-Aug-02 6:26
valikac4-Aug-02 6:26 
GeneralRe: how can I respond Enter Event in a editbox? Pin
Angel Kid4-Aug-02 6:29
Angel Kid4-Aug-02 6:29 
GeneralRe: how can I respond Enter Event in a editbox? Pin
Pavel Klocek4-Aug-02 7:06
Pavel Klocek4-Aug-02 7:06 
AnswerRe: This is one of the famous question. Pin
Masaaki Onishi4-Aug-02 7:05
Masaaki Onishi4-Aug-02 7:05 
Hello, the codegurus around the world.;)

This is one of the famous questions in MFC.
If you push Enter key, the dialog will be closed.

One solution is that you can trap Enter key message by PreTranslateMessage
before Enter Key message sends to the dialog.
And you can check if EditBox actually get the input focus in PreTranslateMessage.

Also, Paul Deliacia(?) posts his article in this question in MSDN magazine.

Please, don't send me your email about your questions directly.
Have a nice day!
Sonork - 100.10571:vcdeveloper Wink | ;)

-Masaaki Onishi-


AnswerRe: how can I respond Enter Event in a editbox? Pin
PJ Arends4-Aug-02 8:17
professionalPJ Arends4-Aug-02 8:17 
GeneralRe: how can I respond Enter Event in a editbox? Pin
JohnnyG4-Aug-02 12:07
JohnnyG4-Aug-02 12:07 
GeneralSetFont Pin
Anonymous4-Aug-02 5:14
Anonymous4-Aug-02 5:14 
GeneralRe: SetFont Pin
valikac4-Aug-02 6:23
valikac4-Aug-02 6:23 
GeneralRe: SetFont Pin
Michael Dunn4-Aug-02 7:24
sitebuilderMichael Dunn4-Aug-02 7:24 
Generalsimple question in Vc Pin
glinda4-Aug-02 3:24
glinda4-Aug-02 3:24 
GeneralRe: simple question in Vc Pin
jmkhael4-Aug-02 10:16
jmkhael4-Aug-02 10:16 
Generalframeless documents and saving custom documents Pin
Chi Ling4-Aug-02 3:17
sussChi Ling4-Aug-02 3:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.