windows_programming_notes.nbk: Home | Index | Next Page: WM_QUEUESYNC | Previous Page: WM_QUERYNEWPALETTE


 WM_QUERYOPEN

The WM_QUERYOPEN message is sent to an icon when the user requests that the window be restored to its previous size and position.

A window receives this message through its WindowProc function.

Parameters

Return Value

If the icon can be opened, an application that processes this message should return TRUE; otherwise, it should return FALSE to prevent the icon from being opened.

Remarks

By default, the DefWindowProc function returns TRUE.

While processing this message, the application should not perform any action that would cause an activation or focus change (for example, creating a dialog box).

Notification Requirements


windows_programming_notes.nbk: Home | Index | Next Page: WM_QUEUESYNC | Previous Page: WM_QUERYNEWPALETTE


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time