Share via


CPaneFrameWnd::RemovePane

Removes a pane from the mini-frame window.

virtual void RemovePane(
   CBasePane* pWnd,
   BOOL bDestroy = FALSE,
   BOOL bNoDelayedDestroy = FALSE
);

Parameters

  • [in] pWnd
    A pointer to the pane to remove.

  • [in] bDestroy
    Specifies what happens to the mini-frame window. If bDestroy is TRUE, this method destroys the mini-frame window immediately. If it is FALSE, this method destroys the mini-frame window after a certain delay.

  • [in] bNoDelayedDestroy
    If TRUE, delayed destruction is disabled. If FALSE, delayed destruction is enabled.

Remarks

The framework can destroy mini-frame windows immediately or after a certain delay. If you want to delay destruction of mini-frame windows, pass FALSE in the bNoDelayedDestroy parameter. Delayed destruction occurs when the framework processes the AFX_WM_CHECKEMPTYMINIFRAME message.

Requirements

Header: afxpaneframewnd.h

See Also

Reference

CPaneFrameWnd Class

Hierarchy Chart