Have you noticed that when windows declares a program as not responding you can then use the control box and sysmenu stuff? Does windows subclass your window class in this instance?
Have you noticed that when windows declares a program as not responding you can then use the control box and sysmenu stuff? Does windows subclass your window class in this instance?
Unless you've subclassed the window menu functionality, anything to do with it is handled by the default window message handler, built into Windows.
Since Windows 2000, Windows has managed non-client area painting, the window menu, etc. seperately from the active program's process so they are still able to be used (Although usually only the Close command will do anything when the program's process stops responding to messages or signals).