Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::OnQueryOpen
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg BOOL OnQueryOpen();
 
  Remarks
 
  Called when the CWnd is iconized and the user requests that the CWnd be
  opened into a window.
 
  While in OnQueryOpen, CWnd should not perform any action that would
  cause an activation or focus change (for example, creating a dialog
  box).
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_QUERYOPEN message.
 
  Return Value
 
  TRUE if the icon can be opened, or FALSE to prevent the icon from being
  opened.
 
  See Also
 
  CWnd::Default, WM_QUERYOPEN
 
 
                                     -♦-