Window being minimized
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
How to detect if a window is being minimized? WM_ACTIVATE only seems to say if it's leaving minimized mode + just normal (de)activation.
Take a look at the
WM_SYSCOMMAND
message. If the wParam parameter isSC_MINIMIZE
, then the window is about to be minimized. -
How to detect if a window is being minimized? WM_ACTIVATE only seems to say if it's leaving minimized mode + just normal (de)activation.
Try using the Spy++ utility (found in the VC6 pkg). It's useful for watching the messages that go by when a user action takes place.
Software Zen:
delete this;