closing shell please help :(

  • Thread starter Ionut Constantinescu
  • 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
 
D

DavidW

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top