TBN_MAPACCELERATOR notification code

Requests the index of the button in the toolbar corresponding to the specified accelerator character. This notification code is sent in the form of a WM_NOTIFY message.

TBN_MAPACCELERATOR

    lpnmtb = (NMCHAR*) lParam; 

Parameters

lParam

A pointer to an NMCHAR structure that contains the accelerator key character and that receives the index of the corresponding button. The dwItemNext field is -1 if the accelerator does not correspond to a command.

Return value

TRUE if NMCHAR.dwItemNext is set to a value.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h