CWnd::OnQueryOpen
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CWnd::OnQueryOpen

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.

afx_msg BOOL OnQueryOpen( );

Return Value

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

Remarks

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

See Also

CWnd Overview | Class Members | Hierarchy Chart | WM_QUERYOPEN

Show:
© 2016 Microsoft