Page 1 of 1

Shut Down dialog box

Posted: Sun May 05, 2013 6:24 pm
by Carlos Britos
Adaptation of source code from:
http://msdn.microsoft.com/en-us/library ... 5%29.aspx
Warning, before test it, save your data. Just in case the cancel button don't work.
Compiled only in Unicode mode.
Use it at your own risk.

Only tested in Xp.
I would like to know if it works well on other operating systems.

Re: Shut Down dialog box

Posted: Sun May 05, 2013 7:10 pm
by srvet_claudio
Very Nice Carlos :D
Thanks.
Best regards,
Claudio.

Re: Shut Down dialog box

Posted: Mon May 06, 2013 7:26 pm
by esgici
Hi Carlos and Claudio

What is difference with:

Code: Select all

SET INTERACTIVECLOSE ON | OFF | QUERY [MAIN]
TIA

Re: Shut Down dialog box

Posted: Mon May 06, 2013 11:31 pm
by Carlos Britos
esgici wrote:Hi Carlos and Claudio

What is difference with:

Code: Select all

SET INTERACTIVECLOSE ON | OFF | QUERY [MAIN]
TIA
Hi Esgici
This code show the Windows shutDown dialog box to:
Shutdown or restart the PC, not the app.