Click here to Skip to main content
15,906,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to display a double value as text in a CEdit window Pin
David Crow1-May-07 5:53
David Crow1-May-07 5:53 
GeneralRe: How to display a double value as text in a CEdit window Pin
Reagan Conservative1-May-07 5:56
Reagan Conservative1-May-07 5:56 
AnswerRe: How to display a double value as text in a CEdit window Pin
JudyL_MD1-May-07 7:06
JudyL_MD1-May-07 7:06 
GeneralRe: How to display a double value as text in a CEdit window Pin
Reagan Conservative1-May-07 7:54
Reagan Conservative1-May-07 7:54 
Questionsystem menu on dialog Pin
deeps_cute1-May-07 3:39
deeps_cute1-May-07 3:39 
AnswerRe: system menu on dialog Pin
GuyM1-May-07 3:57
GuyM1-May-07 3:57 
AnswerRe: system menu on dialog Pin
Eytukan1-May-07 4:15
Eytukan1-May-07 4:15 
GeneralRe: system menu on dialog Pin
GuyM1-May-07 4:38
GuyM1-May-07 4:38 
He wants to catch the [X] in the system-menu, not the Cancel button ... Smile | :)
Here's the code:
void CYourDlg::OnClose()
{ 
  AfxMessageBox("Don't close!");
}

... and don't forget to add the ON_WM_CLOSE() macro in the dialog's message-map.
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 
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 

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.