CWnd::OnQueryOpen 

afx_msg BOOL OnQueryOpen( );

Return Value

Nonzero if the icon can be opened, or 0 to prevent the icon from being opened.

Remarks

The framework calls this member function when the CWnd object is minimized and the user requests that the CWnd be restored to its preminimized size and position.

While in OnQueryOpen, CWnd should not perform any action that would cause an activation or focus change (for example, creating a dialog box).

CWnd OverviewClass MembersHierarchy Chart

See Also   WM_QUERYOPEN