共用方式為


CDockablePane::DrawCaption

Draws the caption (also called the gripper) of a docking pane.

virtual void DrawCaption(
    CDC* pDC,
    CRect rectCaption
);

Parameters

  • [in] pDC
    Represents the device context used for drawing.

  • [in] rectCaption
    Specifies the bounding rectangle of the pane's caption.

Remarks

The framework calls this method to draw the caption of a dockable pane.

Override this method in a derived class to customize the appearance of the caption.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart