Dela via


CMFCTasksPane::SetGroupCaptionHeight

Sets the height of a group caption.

void SetGroupCaptionHeight(
    int n = -1
);

Parameters

  • [in] n
    Specifies the caption height.

Remarks

Call this method to customize the margins of the task pane elements.

If n is -1, the framework determines the margin value by using the visual manager (CMFCVisualManager::GetTasksPaneGroupCaptionHeight). The default caption height is 25 pixels.

Requirements

Header: afxTasksPane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCTasksPane Class