WM_QUERYOPEN

This message is sent to an icon when the user requests that it be opened into a window.

Parameter Description  

wParam Is not used.  
lParam Is not used.  

Return Value

The return value is zero when the application prevents the icon from being opened. It is nonzero when the icon can be opened.

Default Action

The DefWindowProc function returns nonzero.