Upravit

Sdílet prostřednictvím


DFM_MERGECONTEXTMENU_TOP message

Allows the callback to add items to the top of the extended menu.

DFM_MERGECONTEXTMENU_TOP

    lParam = (LPARAM)(LPQCMINFO) pqcminfo;

    wParam = (WPARAM)(UINT) uFlags;         

            

Parameters

pqcminfo [in]

A pointer to a QCMINFO structure containing the information used in the merge.

uFlags [in]

Flags specifying how the context menu can be changed. This parameter uses the CMF_* values described in IContextMenu::QueryContextMenu.

Remarks

If items are added to the extended context menu, they must be supported with routines that respond appropriately when one of those items is invoked using DFM_INVOKECOMMAND.

This message is sent to either the callback function or the callback object depending on how the default context menu object is implemented. There are two APIs for its implementation, CDefFolderMenu_Create2, SHCreateDefaultContextMenu.

DFM_INVOKECOMMANDEX is an extended version of this message and provides more information to the callback. Use DFM_INVOKECOMMANDEX if the additional information provided by that interface is needed in your implementation.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Shlobj.h