Click here to Skip to main content
16,007,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetFocus from an AboutBox form Pin
PJ Arends27-Jan-03 11:59
professionalPJ Arends27-Jan-03 11:59 
GeneralRe: GetFocus from an AboutBox form Pin
Joaquín M López Muñoz27-Jan-03 12:07
Joaquín M López Muñoz27-Jan-03 12:07 
GeneralPlease d ont stop responding to my simple questions.... Pin
ns28-Jan-03 3:18
ns28-Jan-03 3:18 
GeneralRe: Please d ont stop responding to my simple questions.... Pin
Joaquín M López Muñoz28-Jan-03 8:57
Joaquín M López Muñoz28-Jan-03 8:57 
GeneralRe: GetFocus from an AboutBox form Pin
ns28-Jan-03 3:26
ns28-Jan-03 3:26 
GeneralRe: GetFocus from an AboutBox form Pin
PJ Arends27-Jan-03 12:01
professionalPJ Arends27-Jan-03 12:01 
GeneralRe: GetFocus from an AboutBox form Pin
ns28-Jan-03 3:11
ns28-Jan-03 3:11 
GeneralRe: GetFocus from an AboutBox form Pin
PJ Arends28-Jan-03 6:39
professionalPJ Arends28-Jan-03 6:39 
At the risk of confusing you more....Smile | :)

ns wrote:
Just curious, but if WM_COMMAND is such a universal sort of message why cant we do that in the CDialog as well

If you create a dialog with no buttons, or any controls that handle the enter key themselves (in other words, a dialog with only simple static controls), then you can handle the enter key this way. But it is not advicable, because CDialog will, by default, call your OnOk() handler.

It's not a matter of it will never work, it's just that it will only work in very special circumstances.



CPUA 0x5041

Sonork 100.11743 Chicken Little

"So it can now be written in stone as a testament to humanities achievments "PJ did Pi at CP"." Colin Davies

Within you lies the power for good - Use it!
Generalokay! Thanks Pin
ns28-Jan-03 6:44
ns28-Jan-03 6:44 
GeneralConnecting to Oracle from VC++ Pin
Ravi2827-Jan-03 9:22
Ravi2827-Jan-03 9:22 
GeneralWM_COMMAND and wParam Pin
ns27-Jan-03 9:10
ns27-Jan-03 9:10 
GeneralRe: WM_COMMAND and wParam Pin
PJ Arends27-Jan-03 9:32
professionalPJ Arends27-Jan-03 9:32 
Generaldeciding which edit box had text entered in it.... Pin
ns27-Jan-03 10:11
ns27-Jan-03 10:11 
GeneralRe: deciding which edit box had text entered in it.... Pin
PJ Arends27-Jan-03 10:52
professionalPJ Arends27-Jan-03 10:52 
GeneralRe: deciding which edit box had text entered in it.... Pin
ns27-Jan-03 11:04
ns27-Jan-03 11:04 
GeneralRe: deciding which edit box had text entered in it.... Pin
PJ Arends27-Jan-03 12:08
professionalPJ Arends27-Jan-03 12:08 
Generalsorry Pin
PJ Arends27-Jan-03 12:28
professionalPJ Arends27-Jan-03 12:28 
GeneralThank you!! Pin
ns28-Jan-03 3:03
ns28-Jan-03 3:03 
GeneralToolbar nightmares Pin
will138327-Jan-03 8:41
will138327-Jan-03 8:41 
GeneralRe: Toolbar nightmares Pin
Maximilien27-Jan-03 8:54
Maximilien27-Jan-03 8:54 
GeneralDOH! Pin
will138327-Jan-03 8:55
will138327-Jan-03 8:55 
GeneralCreating MFC exe - whats Automation support Pin
ns27-Jan-03 8:21
ns27-Jan-03 8:21 
GeneralRe: Creating MFC exe - whats Automation support Pin
Chris Losinger27-Jan-03 8:35
professionalChris Losinger27-Jan-03 8:35 
GeneralOkay! Pin
ns27-Jan-03 8:40
ns27-Jan-03 8:40 
GeneralButtons Help!!! Pin
nutkase27-Jan-03 8:13
nutkase27-Jan-03 8:13 

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.