Click here to Skip to main content
15,914,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: System Shutdown Pin
Eytukan8-Mar-06 21:56
Eytukan8-Mar-06 21:56 
AnswerRe: System Shutdown Pin
CodeVarma8-Mar-06 21:58
CodeVarma8-Mar-06 21:58 
GeneralRe: System Shutdown Pin
Eytukan8-Mar-06 21:59
Eytukan8-Mar-06 21:59 
GeneralRe: System Shutdown Pin
CodeVarma8-Mar-06 22:32
CodeVarma8-Mar-06 22:32 
GeneralRe: System Shutdown Pin
Eytukan8-Mar-06 23:00
Eytukan8-Mar-06 23:00 
GeneralRe: System Shutdown for Dialog Pin
CodeVarma8-Mar-06 23:00
CodeVarma8-Mar-06 23:00 
GeneralRe: System Shutdown for Dialog Pin
Eytukan8-Mar-06 23:09
Eytukan8-Mar-06 23:09 
GeneralRe: System Shutdown for Dialog Pin
Rster0211119-Mar-06 5:40
Rster0211119-Mar-06 5:40 
Don't try adding those functions. Instead, go to your dialog view (where you can manipulate the button/textbox fields) click on the dialog somewhere. From there, go to the Properties tab. This is the place where you would normally set the button/textbox name, readonly, etc. Instead, click on the button next to the little Lightning bolt that is labeled "Messages." From there, scroll down until you see "WM_QUERYENDSESSION", click on that, and add OnQueryEndSession. From there your function will be added and implimented, and you can change what you're testing for inside of that.

da Big_R
GeneralRe: System Shutdown for Dialog Pin
Eytukan16-Mar-06 3:13
Eytukan16-Mar-06 3:13 
QuestionGlobal Function... Pin
HakunaMatada8-Mar-06 21:28
HakunaMatada8-Mar-06 21:28 
AnswerRe: Global Function... Pin
Nibu babu thomas8-Mar-06 21:42
Nibu babu thomas8-Mar-06 21:42 
GeneralRe: Global Function... Pin
HakunaMatada8-Mar-06 22:31
HakunaMatada8-Mar-06 22:31 
GeneralRe: Global Function... Pin
toxcct8-Mar-06 23:03
toxcct8-Mar-06 23:03 
QuestionNot getting RecordSet pointer Pin
SanjaySMK8-Mar-06 21:08
SanjaySMK8-Mar-06 21:08 
QuestionDetermining Language Pin
wendyw8-Mar-06 21:02
wendyw8-Mar-06 21:02 
AnswerRe: Determining Language Pin
Dennis Gourjii9-Mar-06 4:52
Dennis Gourjii9-Mar-06 4:52 
GeneralRe: Determining Language Pin
wendyw9-Mar-06 19:20
wendyw9-Mar-06 19:20 
QuestionInternetReadFile Problem Pin
Amit j Patil8-Mar-06 20:57
Amit j Patil8-Mar-06 20:57 
AnswerRe: InternetReadFile Problem Pin
Xing Chen8-Mar-06 22:50
Xing Chen8-Mar-06 22:50 
QuestionOpenGL in MFC Pin
amanoullah8-Mar-06 20:48
amanoullah8-Mar-06 20:48 
AnswerRe: OpenGL in MFC Pin
El Corazon9-Mar-06 1:45
El Corazon9-Mar-06 1:45 
QuestionDynamic setting of openmode while using ADO Pin
sting_lee8-Mar-06 20:25
sting_lee8-Mar-06 20:25 
AnswerRe: Dynamic setting of openmode while using ADO Pin
Eytukan8-Mar-06 22:42
Eytukan8-Mar-06 22:42 
QuestionFinding files using FindFile/FindNextFile Pin
SWDevil8-Mar-06 20:17
SWDevil8-Mar-06 20:17 
AnswerRe: Finding files using FindFile/FindNextFile Pin
Nibu babu thomas8-Mar-06 20:36
Nibu babu thomas8-Mar-06 20:36 

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.