Hooking Shutdown
I have written a program that allows for my to keep my time sheet. I need to hook( I guess?) into the shutdown and pop up a dialog to if the time has not been enter for the current day and shutdown is chosen like in office xp if you shutdown with outlook open. Any suggestions or a better way would be great. Thanks!
Theres a Windows message (WM_SHUTDOWN ?) that you can get your app to respond to. If you return 1 (i think), then windows won''t exit.
Steve
DirectX Programmer
Soon to be the new Bill Gates
Steve
DirectX Programmer
Soon to be the new Bill Gates
make sure you give the user the option to disable that feature, as its implementation in outlook is incredibly annoying. i can''t quit windows because a mail app is open -- whoever came up with that idea?
anyway, there''s WM_QUERYENDSESSION i think.
anyway, there''s WM_QUERYENDSESSION i think.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement