Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shutdown computer using MFC

Status
Not open for further replies.

knownarcher

Programmer
Jul 11, 2003
5
US
Is there any function or class that can control system shutdown and restart of computer in MFC.
 
set a keyboard hook. There are some Win32API functions for working with hooks.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Sorry, the above is for other thread.
Use ExitWindows or ExitWindowsEx.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top