共用方式為


CMFCTasksPane::SetGroupVertOffset

Sets the vertical offset for a group.

void SetGroupVertOffset(
    int n = -1
);

Parameters

  • [in] n
    Specifies the vertical offset.

Remarks

The vertical offset is the distance between a task group and the border of the task pane.

Call this method to customize the margins of task pane elements. If n is -1, the framework determines the margin value by using the visual manager (CMFCVisualManager::GetTasksPaneGroupVertOffset). The default offset is 15 pixels.

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart