Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WM_QUERYOPEN

WM_QUERYOPEN message

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.


#define WM_QUERYOPEN                    0x0013

Parameters

wParam

This parameter is not used.

lParam

This parameter is not used.

Return value

Type: LRESULT

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).

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
DefWindowProc
Conceptual
Windows

 

 

Community Additions

ADD
Show:
© 2015 Microsoft