Click here to Skip to main content
15,882,878 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Exit Message Box [modified] Pin
MrMcIntyre1-Nov-09 9:33
MrMcIntyre1-Nov-09 9:33 
GeneralRe: Exit Message Box Pin
«_Superman_»1-Nov-09 9:46
professional«_Superman_»1-Nov-09 9:46 
GeneralRe: Exit Message Box Pin
MrMcIntyre1-Nov-09 9:57
MrMcIntyre1-Nov-09 9:57 
GeneralRe: Exit Message Box Pin
«_Superman_»1-Nov-09 10:00
professional«_Superman_»1-Nov-09 10:00 
GeneralRe: Exit Message Box Pin
MrMcIntyre1-Nov-09 10:04
MrMcIntyre1-Nov-09 10:04 
GeneralRe: Exit Message Box Pin
MrMcIntyre1-Nov-09 10:48
MrMcIntyre1-Nov-09 10:48 
GeneralRe: Exit Message Box Pin
hxhl951-Nov-09 13:16
hxhl951-Nov-09 13:16 
GeneralRe: Exit Message Box Pin
David Crow2-Nov-09 2:58
David Crow2-Nov-09 2:58 
MrMcIntyre wrote:
if (MB_YES == MessageBox(hwnd, _T("Are you sure you want to exit?"), _T("Confirmation"), MB_YESNO))
DestroyWindow(hwnd);


hwnd has not been declared.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


GeneralRe: Exit Message Box Pin
MrMcIntyre2-Nov-09 10:52
MrMcIntyre2-Nov-09 10:52 
AnswerRe: Exit Message Box Pin
David Crow2-Nov-09 10:54
David Crow2-Nov-09 10:54 
GeneralRe: Exit Message Box [modified] Pin
MrMcIntyre2-Nov-09 10:59
MrMcIntyre2-Nov-09 10:59 
QuestionRe: Exit Message Box Pin
David Crow2-Nov-09 11:04
David Crow2-Nov-09 11:04 
AnswerRe: Exit Message Box Pin
MrMcIntyre2-Nov-09 11:26
MrMcIntyre2-Nov-09 11:26 
GeneralRe: Exit Message Box Pin
MrMcIntyre2-Nov-09 11:28
MrMcIntyre2-Nov-09 11:28 
GeneralRe: Exit Message Box Pin
David Crow2-Nov-09 16:43
David Crow2-Nov-09 16:43 
Questionmaking calculator using MFC c++ Pin
goutom roy1-Nov-09 8:19
goutom roy1-Nov-09 8:19 
AnswerRe: making calculator using MFC c++ Pin
«_Superman_»1-Nov-09 8:47
professional«_Superman_»1-Nov-09 8:47 
AnswerRe: making calculator using MFC c++ Pin
CPallini1-Nov-09 9:59
mveCPallini1-Nov-09 9:59 
AnswerRe: making calculator using MFC c++ Pin
David Crow2-Nov-09 3:03
David Crow2-Nov-09 3:03 
Questionfilehandling Pin
khomeyni1-Nov-09 5:36
khomeyni1-Nov-09 5:36 
AnswerRe: filehandling Pin
«_Superman_»1-Nov-09 6:41
professional«_Superman_»1-Nov-09 6:41 
QuestionProblems with Edit controls in MFC(help please) Pin
moh.hijjawi1-Nov-09 5:34
moh.hijjawi1-Nov-09 5:34 
AnswerRe: Problems with Edit controls in MFC(help please) Pin
«_Superman_»1-Nov-09 6:54
professional«_Superman_»1-Nov-09 6:54 
GeneralRe: Problems with Edit controls in MFC(help please) Pin
moh.hijjawi1-Nov-09 7:21
moh.hijjawi1-Nov-09 7:21 
AnswerRe: Problems with Edit controls in MFC(help please) Pin
David Crow2-Nov-09 3:47
David Crow2-Nov-09 3:47 

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.