what message does alt-f4 send to the message loop and what message does task manager send to a process its terminating?
there seems to be a difference because my program properly terminates with task manager, but when i use alt-f4 it closes and disappears but still appears as a process in task manager using 90-100% cpu time
WM_CLOSE
its a standard accelerator for clicking the close icon for your window.
If your process still appears in the task manager you''ve probably forgotten one of:
- DestroyWindow()
- PostQuitMessage()
- to exit your message pump correctly
--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
its a standard accelerator for clicking the close icon for your window.
If your process still appears in the task manager you''ve probably forgotten one of:
- DestroyWindow()
- PostQuitMessage()
- to exit your message pump correctly
--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement