HOWTO: Keep a Window Iconic
ID: Q66244
|
The information in this article applies to:
-
Microsoft Windows Software Development Kit (SDK)
-
Microsoft Win32 Software Development Kit (SDK)
-
Microsoft Windows 2000
SUMMARY
Normally, when an application's main window is being represented by an
icon ("iconic"), you can restore it to an open window by
double-clicking the icon or by choosing the Restore option from the
System menu.
Opening the window can be prevented by placing code into the
application that processes the WM_QUERYOPEN message by returning
FALSE.
If it is necessary to perform processing before the iconic window is
opened, the processing should be done in response to the WM_QUERYOPEN
message. After processing is complete the program can return TRUE and
the window will be opened.
Additional query words:
Keywords : kbNTOS kbGrpUser kbWinOS kbWndw kbWndwMsg
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto