Click here to Skip to main content
15,918,706 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: system menu on dialog Pin
Eytukan1-May-07 5:09
Eytukan1-May-07 5:09 
GeneralRe: system menu on dialog Pin
GuyM1-May-07 5:16
GuyM1-May-07 5:16 
QuestionRe: system menu on dialog Pin
Rajesh R Subramanian1-May-07 7:32
professionalRajesh R Subramanian1-May-07 7:32 
AnswerRe: system menu on dialog Pin
Eytukan1-May-07 18:59
Eytukan1-May-07 18:59 
GeneralRe: system menu on dialog Pin
Eytukan1-May-07 5:18
Eytukan1-May-07 5:18 
GeneralRe: system menu on dialog Pin
Rajesh R Subramanian1-May-07 7:29
professionalRajesh R Subramanian1-May-07 7:29 
GeneralRe: system menu on dialog Pin
Eytukan1-May-07 19:02
Eytukan1-May-07 19:02 
GeneralRe: system menu on dialog Pin
Rajesh R Subramanian1-May-07 19:25
professionalRajesh R Subramanian1-May-07 19:25 
VuNic wrote:
Yeah, nobody would want their application to get closed with an Esc.

You assume things.

VuNic wrote:
I really wonder why MFC has it that way :unsure:. So handling WM_CLOSE is the best way.

That is by design. Pressing the Esc key in a dialog based app will execute some extremely old windows code. As a developer, you are not supposed to develop complex applications which is dialog based. As a user, he would always expect a dialog to get dismissed when the Esc key is pressed. For instance, if you right click on the desktop and choose properties, you will expect the properties window to get dismissed on pressing Esc. I am working on my first article, and I have elaborated on this dialog box closing glitch issue more clearly.



GeneralRe: system menu on dialog Pin
Eytukan1-May-07 19:59
Eytukan1-May-07 19:59 
GeneralRe: system menu on dialog Pin
Rajesh R Subramanian1-May-07 20:03
professionalRajesh R Subramanian1-May-07 20:03 
GeneralRe: system menu on dialog Pin
Eytukan1-May-07 20:18
Eytukan1-May-07 20:18 
AnswerRe: system menu on dialog Pin
Rajesh R Subramanian1-May-07 7:29
professionalRajesh R Subramanian1-May-07 7:29 
AnswerRe: system menu on dialog Pin
ThatsAlok13-May-07 19:42
ThatsAlok13-May-07 19:42 
QuestionMicro question Pin
Demian Panello1-May-07 3:19
Demian Panello1-May-07 3:19 
AnswerRe: Micro question Pin
David Crow1-May-07 5:37
David Crow1-May-07 5:37 
GeneralRe: Micro question Pin
Demian Panello1-May-07 10:26
Demian Panello1-May-07 10:26 
AnswerRe: Micro question Pin
Hamid_RT1-May-07 6:12
Hamid_RT1-May-07 6:12 
GeneralRe: Micro question Pin
Demian Panello1-May-07 10:29
Demian Panello1-May-07 10:29 
AnswerRe: Micro question Pin
Vaclav_1-May-07 8:27
Vaclav_1-May-07 8:27 
GeneralRe: Micro question Pin
Demian Panello1-May-07 10:21
Demian Panello1-May-07 10:21 
Questionusing Excel to connect to external data source Pin
George_George1-May-07 3:14
George_George1-May-07 3:14 
AnswerRe: using Excel to connect to external data source Pin
David Crow1-May-07 5:39
David Crow1-May-07 5:39 
GeneralRe: using Excel to connect to external data source Pin
George_George1-May-07 18:17
George_George1-May-07 18:17 
QuestionInfo on folders within Vista Pin
Don Rolando1-May-07 2:55
Don Rolando1-May-07 2:55 
AnswerRe: Info on folders within Vista Pin
Peter Weyzen2-May-07 8:34
Peter Weyzen2-May-07 8:34 

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.