Freigeben über


CMDIFrameWndEx::OnCloseMiniFrame

Called by the framework when the user clicks the Close button on a floating mini-frame window.

virtual BOOL OnCloseMiniFrame(
   CPaneFrameWnd*  
);

Parameters

  • [in] pWnd
    Pointer to the mini-frame window being closed.

Return Value

TRUE if the floating mini-frame window can be closed. Otherwise, FALSE.

Remarks

Override this method to handle hiding of floating mini-frame windows. Return FALSE if you want to prevent a floating mini-frame window from being hidden.

The default implementation does nothing and returns TRUE.

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart