TB_MAPACCELERATOR message

Determines the ID of the button that corresponds to the specified accelerator character.

Parameters

wParam [in]

The accelerator character.

lParam [out]

Pointer to a UINT. On return, if successful, this parameter will hold the id of the button that has wParam as its accelerator character.

Return value

Returns a nonzero value if one of the buttons has wParam as its accelerator character, or zero otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
TB_MAPACCELERATORW (Unicode) and TB_MAPACCELERATORA (ANSI)