DFM_MERGECONTEXTMENU
TOC
Collapse the table of content
Expand the table of content

DFM_MERGECONTEXTMENU message

Allows the callback to add items to the menu.


DFM_MERGECONTEXTMENU

    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 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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

 

 

Show:
© 2016 Microsoft