Partager via


CDockablePane::EnableGripper

Shows or hides the caption (also called the gripper).

virtual void EnableGripper(
    BOOL bEnable 
);

Parameters

  • [in] bEnable
    TRUE to enable the caption; otherwise, FALSE.

Remarks

When the framework creates dockable panes, they do not have the WS_STYLE window style, even if specified. This means that the pane's caption is a non-client area that is controlled by the framework, but this area differs from the standard window caption.

You can show or hide the caption at any time. The framework hides the caption when a pane is added as a tab to a tabbed window or when a pane is floated in a miniframe window.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart