CMFCTasksPane::SetVertMargin

Sets the vertical margin.

void SetVertMargin(
    int n = -1
);

Parameters

  • [in] n
    Specifies the vertical margin to set.

Remarks

The vertical margin is the distance between a task pane and the vertical edges of the client area.

If n is -1, the framework determines the margin value by using the visual manager (CMFCVisualManager::GetTasksPaneVertMargin). The default margin is 12 pixels.

Requirements

Header: afxTasksPane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCTasksPane Class