Partager via


CPaneFrameWnd::IsRollUp

Determines whether a mini-frame window should be rolled up.

virtual BOOL IsRollUp() const;

Return Value

TRUE if the mini-frame window must be rolled up; otherwise, FALSE.

Remarks

This method is called by the framework to determine whether a mini-frame window should be rolled up. The rollup/rolldown feature is enabled for a mini-frame window if it contains at least one pane that has the AFX_CBRS_AUTO_ROLLUP flag. This flag is set when a pane is created. For more information, see CBasePane::CreateEx.

By default, the framework checks whether the mouse pointer is inside the mini-frame window bounding rectangle to determine whether the window has to be rolled up. You can override this behavior in a derived class.

Requirements

Header: afxPaneFrameWnd.h

See Also

Reference

CPaneFrameWnd Class

Hierarchy Chart