Shut Down dialog box

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
Carlos Britos
Posts: 245
Joined: Sat Aug 02, 2008 5:03 pm

Shut Down dialog box

Post 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.
Attachments
Shutdown.zip
(1.87 KiB) Downloaded 438 times
Regards/Saludos, Carlos (bcd12a)
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Shut Down dialog box

Post by srvet_claudio »

Very Nice Carlos :D
Thanks.
Best regards,
Claudio.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Shut Down dialog box

Post by esgici »

Hi Carlos and Claudio

What is difference with:

Code: Select all

SET INTERACTIVECLOSE ON | OFF | QUERY [MAIN]
TIA
Viva INTERNATIONAL HMG :D
Carlos Britos
Posts: 245
Joined: Sat Aug 02, 2008 5:03 pm

Re: Shut Down dialog box

Post 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.
Regards/Saludos, Carlos (bcd12a)
Post Reply