Use
Finds the accelerator key associated with the specified menu item.
Syntax
DWORD DLEX ItEv_GetAccelerator (PIT_EVENT pEvt, int iMenu, char *accel, int BuffLen, int *AccelLen);
Parameters
pEvt |
Pointer to the IT_EVENT structure to change |
iMenu |
Index to the menu item |
Accel |
Buffer you allocate for the accelerator key string. |
BuffLen |
Length of the buffer you allocate in your program for the accelerator key. Maximum length is 256. |
AccelLen |
Actual length of the accelerator key string. Allocated by the client program, and filled in by the call. Currently this length is always 1. |
Return Value
Returns TRUE on success, FALSE on error.