The MMCN_MENU_BTNCLICK notification message is sent to the snap-in IExtendControlbar interface when the user clicks a snap-in defined menu button.
The data object for a currently selected scope or result item.
A pointer to a MENUBUTTONDATA structure.
The snap-in successfully handled the notification.
The snap-in does not handle the notification. MMC then performs a default operation for the notification.
The idCommand member of the MENUBUTTONDATA structure holds the user-specified command ID of the menu item that was clicked. The x and y members of this structure specify the position, if any, at which the snap-in's context menu is to be displayed.
The snap-in should display a context menu at the specified position and perform the required tracking and item selection processing.
|Minimum supported client
|Minimum supported server
||Windows Server 2008