Hello @Nikita Provotorov ,
DO NOT invoke ICustomDestinationList::AppendKnownCategory, then end the building session via ICustomDestinationList::CommitList
The Recent category will not displayed. You can confirm it via AutomaticJumpList sample with this line pcdl->AppendKnownCategory(fRecentSelected ? KDC_RECENT : KDC_FREQUENT);
commented out.
invoke SHAddToRecentDocs, my custom Jump List still displays Recent category
This is expected because the SHAddToRecentDocs
function adds a document to the shell's list of recently used documents. If you don't want Recent category don't call this function.
Thank you!
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.