共用方式為


CJumpList::GetMaxSlots

Retrieves the maximum number of items, including category headers that can display in the calling application's destination menu.

UINT GetMaxSlots() const;

Remarks

Applications may only report a number of items and category headers combined up to this value. If calls to AppendCategory, AppendKnownCategory, or AddUserTasks exceed this number, they will return failure.

Requirements

Header: afxadv.h

See Also

Reference

CJumpList Class