HOWTO: Keep a Window Iconic

ID: Q66244


The information in this article applies to:


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.


Keywords          : kbNTOS kbGrpUser kbWinOS kbWndw kbWndwMsg 
Version           : 
Platform          : 
Issue type        : kbhowto 

Last Reviewed: March 5, 1999