共用方式為


CJumpList::AddKnownCategory

Appends a Known Category to the list.

BOOL AddKnownCategory(
   KNOWNDESTCATEGORY category
);

Parameters

  • category
    Specifies a known category type. Can be either KDC_RECENT, or KDC_KNOWN.

Remarks

Known Categories are the Frequent and Recent categories that we will automatically calculate for every application that utilizes SHAddToRecentDocs (or indirectly uses it as the shell will call it on the application's behalf in some scenarios).

Requirements

Header: afxadv.h

See Also

Reference

CJumpList Class