Sep 4, 2004 #1 aselsus Technical User Joined Aug 16, 2004 Messages 4 Location CA I want to make a dialog based VC++ program that have two buttons that shut the PC and Restart PC; what are the right methods and functions ?
I want to make a dialog based VC++ program that have two buttons that shut the PC and Restart PC; what are the right methods and functions ?
Sep 5, 2004 1 #2 PerFnurt Programmer Joined Feb 25, 2003 Messages 972 Location SE Se doc on the ExitWindowsEx function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindowsex.asp /Per "It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure." Upvote 0 Downvote
Se doc on the ExitWindowsEx function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindowsex.asp /Per "It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
Sep 6, 2004 Thread starter #3 aselsus Technical User Joined Aug 16, 2004 Messages 4 Location CA This is ok. Thanks... Upvote 0 Downvote