共用方式為


CDockablePane::GetCaptionHeight

Returns the height, in pixels, of the current caption.

virtual int GetCaptionHeight() const;

Return Value

The height of the caption, in pixels.

Remarks

The caption height is 0 if the caption was hidden by the CDockablePane::EnableGripper method, or if the pane does not have a caption.

Requirements

Header: afxDockablePane.h

See Also

Reference

CDockablePane Class

Hierarchy Chart