Hi,
I have a Tray application and would like to do some clean up when theapplication ends. If the user exit via my Exit menu everything is ok, BUT when some of my users just closes down the computer without closing the app in a normal way the cleanup is not executetd. What will be the message sent to the message pump to look for? I have tried WM_ Command +%WM_Close, WS_Syscommand + sc_Close, but none seem to be the right one.
?
Eigil
I have a Tray application and would like to do some clean up when theapplication ends. If the user exit via my Exit menu everything is ok, BUT when some of my users just closes down the computer without closing the app in a normal way the cleanup is not executetd. What will be the message sent to the message pump to look for? I have tried WM_ Command +%WM_Close, WS_Syscommand + sc_Close, but none seem to be the right one.
?
Eigil
Comment