共用方式為


CMFCTasksPane::EnableGroupCollapse

Specifies whether a user can collapse task groups.

void EnableGroupCollapse(
    BOOL bEnable
);

Parameters

  • [in] bEnable
    TRUE if users can collapse task groups; otherwise, FALSE.

Remarks

A task group that is collapsed displays only the group caption; the list of tasks is hidden.

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart