Click here to Skip to main content
16,009,965 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Query: Display Line Number infront of each Line of source (MFC) Pin
David Crow1-Mar-04 3:01
David Crow1-Mar-04 3:01 
GeneralRe: Query: Display Line Number infront of each Line of source (MFC) Pin
irshad_bukhari1-Mar-04 21:53
irshad_bukhari1-Mar-04 21:53 
Generaldebug a service Pin
Anonymous1-Mar-04 2:41
Anonymous1-Mar-04 2:41 
GeneralRe: debug a service Pin
Prakash Nadar1-Mar-04 2:56
Prakash Nadar1-Mar-04 2:56 
GeneralRe: debug a service Pin
Diddy2-Mar-04 11:30
Diddy2-Mar-04 11:30 
GeneralWindows shutdown Pin
rw1041-Mar-04 2:22
rw1041-Mar-04 2:22 
GeneralRe: Windows shutdown Pin
David Crow1-Mar-04 3:09
David Crow1-Mar-04 3:09 
GeneralRe: Windows shutdown Pin
KaЯl1-Mar-04 3:11
KaЯl1-Mar-04 3:11 
rw104 wrote:
I am catching the WM_QUERYENDSESSION message and returning a 1, which occording to the inline help should stop the shutdown process.

Hum, I don't get the same info in MSDN:

From MSDN, Platform SDK: Windows System Information
"Return Values
If an application can terminate conveniently, it should return TRUE; otherwise, it should return FALSE.

Remarks
By default, the DefWindowProc function returns TRUE for this message.

Windows NT/2000/XP: When an application returns TRUE for this message, it receives the WM_ENDSESSION message and it is terminated, regardless of how the other applications respond to the WM_QUERYENDSESSION message.

Windows 95/98/Me: After all applications return TRUE for this message, they receive the WM_ENDSESSION and they are terminated. "

HTH,

K.






And I'm talking to myself at night because I can't forget
Back and forth through my mind
Behind a cigarette

GeneralMenu... Pin
Micke B29-Feb-04 23:54
Micke B29-Feb-04 23:54 
GeneralRe: Menu... Pin
Prakash Nadar1-Mar-04 0:09
Prakash Nadar1-Mar-04 0:09 
GeneralRe: Menu... Pin
Steve S1-Mar-04 0:22
Steve S1-Mar-04 0:22 
GeneralRe: Menu... Pin
Anonymous1-Mar-04 3:04
Anonymous1-Mar-04 3:04 
GeneralRe: Menu... Pin
Micke B1-Mar-04 3:24
Micke B1-Mar-04 3:24 
GeneralRe: Menu... Pin
Steve S1-Mar-04 6:35
Steve S1-Mar-04 6:35 
QuestionHow to get HDD serial number from Windows98? Pin
george ivanov29-Feb-04 23:27
george ivanov29-Feb-04 23:27 
AnswerRe: How to get HDD serial number from Windows98? Pin
Selvam R29-Feb-04 23:37
professionalSelvam R29-Feb-04 23:37 
GeneralRe: How to get HDD serial number from Windows98? Pin
george ivanov1-Mar-04 0:00
george ivanov1-Mar-04 0:00 
AnswerRe: How to get HDD serial number from Windows98? Pin
Dominik Reichl1-Mar-04 1:00
Dominik Reichl1-Mar-04 1:00 
GeneralPb with keyboard input in ATL Dialog Box Pin
K dur29-Feb-04 23:20
K dur29-Feb-04 23:20 
GeneralRe: Pb with keyboard input in ATL Dialog Box Pin
Prakash Nadar1-Mar-04 0:04
Prakash Nadar1-Mar-04 0:04 
GeneralRe: Pb with keyboard input in ATL Dialog Box Pin
K dur1-Mar-04 0:06
K dur1-Mar-04 0:06 
GeneralRe: Pb with keyboard input in ATL Dialog Box Pin
Prakash Nadar1-Mar-04 0:14
Prakash Nadar1-Mar-04 0:14 
GeneralRe: Pb with keyboard input in ATL Dialog Box Pin
K dur1-Mar-04 0:18
K dur1-Mar-04 0:18 
GeneralRe: Pb with keyboard input in ATL Dialog Box Pin
Prakash Nadar1-Mar-04 0:28
Prakash Nadar1-Mar-04 0:28 
QuestionIs there some registration and pay servers for programs ? Pin
vgrigor29-Feb-04 22:44
vgrigor29-Feb-04 22:44 

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.