ItEv_SetMenuKey 

Use

Sets the menu entry to be sent by specifying the menu key in the key member of the IT_EVENT structure.

Also sets the MES_MENU bit of eventtype.

Syntax

DWORD DLEX ItEv_SetMenuKey(PIT_EVENT pEvt, int key);

Parameters

pEvt

Pointer to the IT_EVENT structure

key

The key equivalent of the menu

Return Value

Returns TRUE on success.