Partager via


CMFCTasksPane::SetHorzMargin

Sets the horizontal margin.

void SetHorzMargin(
    int n = -1
);

Parameters

  • [in] n
    Specifies the margin, in pixels.

Remarks

The horizontal margin is the distance between a task pane and the top or bottom edge of the client area.

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

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart