Use
Sets the menu entry to be sent by specifying the menu index within the current event’s IT_MENUS structure.
Also sets the MES_MENU bit of
eventtype.Syntax
DWORD DLEX ItEv_SetMenuID(PIT_EVENT pEvt, int menuidx);
Parameters
pEvt |
Pointer to the IT_EVENT structure |
menuidx |
Index to the menu item to be sent, based on the current event's IT_MENUS structure |
Return Value
Returns TRUE on success.
Comments
Using ItEv_SetMenuID allows you to support the same menu in different languages.
ItEv_SetMenuID, which selects the menu item by index number, internally calls ItEv_SetMenu to set the menu entry.
See Also
ItEv_SetMenu.