Partager via


CMFCTasksPane::SetTasksHorzOffset

Sets the horizontal offset for tasks.

void SetTasksHorzOffset(
    int n = -1
);

Parameters

  • [in] n
    Specifies the horizontal offset.

Remarks

The horizontal offset is the distance in pixels from the left and right edges of a group.

If n is -1, this method sets the horizontal offset to the value returned by the CMFCVisualManager::GetTasksPaneTaskHorzOffset method.

The default horizontal offset is 12 pixels.

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart