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.
Shut Down dialog box
Moderator: Rathinagiri
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Shut Down dialog box
- Attachments
-
- Shutdown.zip
- (1.87 KiB) Downloaded 439 times
Regards/Saludos, Carlos (bcd12a)
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Shut Down dialog box
Very Nice Carlos
Thanks.
Best regards,
Claudio.
Thanks.
Best regards,
Claudio.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Shut Down dialog box
Hi Carlos and Claudio
What is difference with:
TIA
What is difference with:
Code: Select all
SET INTERACTIVECLOSE ON | OFF | QUERY [MAIN]
Viva INTERNATIONAL HMG
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: Shut Down dialog box
Hi Esgiciesgici wrote:Hi Carlos and Claudio
What is difference with:
TIACode: Select all
SET INTERACTIVECLOSE ON | OFF | QUERY [MAIN]
This code show the Windows shutDown dialog box to:
Shutdown or restart the PC, not the app.
Regards/Saludos, Carlos (bcd12a)