Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Skinning Pin
alex.barylski19-Mar-02 21:33
alex.barylski19-Mar-02 21:33 
GeneralRe: MFC Skinning Pin
Jon Hulatt20-Mar-02 5:18
Jon Hulatt20-Mar-02 5:18 
GeneralQuestions regarding memory management (MALLOC) Pin
Jesse Rosalia19-Mar-02 13:38
Jesse Rosalia19-Mar-02 13:38 
GeneralRe: Questions regarding memory management (MALLOC) Pin
Paul M Watt19-Mar-02 13:54
mentorPaul M Watt19-Mar-02 13:54 
GeneralRe: Questions regarding memory management (MALLOC) Pin
Jesse Rosalia19-Mar-02 14:13
Jesse Rosalia19-Mar-02 14:13 
GeneralRe: Questions regarding memory management (MALLOC) Pin
Tim Smith19-Mar-02 14:35
Tim Smith19-Mar-02 14:35 
GeneralRe: Questions regarding memory management (MALLOC) Pin
Jesse Rosalia19-Mar-02 18:20
Jesse Rosalia19-Mar-02 18:20 
GeneralXP shutdown issue Pin
19-Mar-02 13:36
suss19-Mar-02 13:36 
Can you please help me out on the below problem.I am in short of time and sorry if this type of question has been posted previously.

I want to display a message box when the windows XP system is about to shutdown and the user must respond to it.I am displaying the message box[with flags MB_TOPMOST|MB_SETFOREGROUND|MB_SERVICE_NOTIFICATION|MB_OKCANCEL] from service.I can do this successfully but what is happening is say after 5 seconds if the user doesnot respond then OS is displaying a message box like "Could not terminate or kill the program,user has to respond to the application".

1.How can i avoid the above message box coming from the system.
2.I see some of the applications in the system tray getting closed in the meanwhile, i mean how can my application[service] be the first to trap WM_QUERYENDSESSION.Is there any other simple approach other than HOOKS.Basically if the user does a cancel from the message box, i have to make sure system is in normal state like before shutdown.

Sincerely,
Suren


GeneralRe: XP shutdown issue Pin
Bill Wilson19-Mar-02 14:16
Bill Wilson19-Mar-02 14:16 
GeneralRe: XP shutdown issue Pin
Joel Lucsy19-Mar-02 17:01
Joel Lucsy19-Mar-02 17:01 
QuestionHiding Dialogs? Pin
19-Mar-02 11:14
suss19-Mar-02 11:14 
AnswerRe: Hiding Dialogs? Pin
Mazdak19-Mar-02 11:25
Mazdak19-Mar-02 11:25 
AnswerRe: Hiding Dialogs? Pin
Joaquín M López Muñoz19-Mar-02 11:20
Joaquín M López Muñoz19-Mar-02 11:20 
AnswerRe: Hiding Dialogs? Pin
dazinith19-Mar-02 11:27
dazinith19-Mar-02 11:27 
GeneralRe: Hiding Dialogs? Pin
Nish Nishant19-Mar-02 13:32
sitebuilderNish Nishant19-Mar-02 13:32 
AnswerRe: Hiding Dialogs? Pin
20-Mar-02 3:02
suss20-Mar-02 3:02 
GeneralToolbar message handlers in .NET Pin
dazinith19-Mar-02 11:15
dazinith19-Mar-02 11:15 
Generalerror code 183 Pin
19-Mar-02 10:49
suss19-Mar-02 10:49 
GeneralRe: error code 183 Pin
Bill Wilson19-Mar-02 14:14
Bill Wilson19-Mar-02 14:14 
Generalbest way to replace items in a string Pin
tbbooher19-Mar-02 9:55
tbbooher19-Mar-02 9:55 
GeneralRe: best way to replace items in a string Pin
Mazdak19-Mar-02 10:27
Mazdak19-Mar-02 10:27 
GeneralRe: best way to replace items in a string Pin
Tim Smith19-Mar-02 10:43
Tim Smith19-Mar-02 10:43 
GeneralRe: best way to replace items in a string Pin
Nish Nishant19-Mar-02 13:36
sitebuilderNish Nishant19-Mar-02 13:36 
GeneralRe: best way to replace items in a string Pin
Tim Smith19-Mar-02 13:48
Tim Smith19-Mar-02 13:48 
GeneralRe: best way to replace items in a string Pin
tbbooher20-Mar-02 7:29
tbbooher20-Mar-02 7:29 

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.