closing shell please help :(

  • Thread starter Thread starter Ionut Constantinescu
  • Start date Start date
I

Ionut Constantinescu

I maked a custom shell for xpe. In the shell i have a button that commands
the computer to shutdown or to restart. Well, the shell give me errors
because don't want to close. Any idea what tot do??
Sincerly,
Ionut Constantinescu
 
The best place to put the Shutdown/Restart is just nefore you exit the
application, not in the Button handle function.
On dialog base application I use EndDialog(code) and in the application
InitInstance call to Shutdown/Restart procedure.

David
 
Back
Top