CToolBarCtrl::MapAccelerator

BOOL MapAccelerator( TCHAR chAccel, UINT* pIDBtn );

Return Value

Nonzero if successful; otherwise zero.

Parameters

chAccel

Accelerator character to be mapped. This character is the same character that is underlined in the button's text.

pIDBtn

A pointer to a UINT that receives the command identifier of the button that corresponds to the accelerator specified in chAccel.

Remarks

This member function implements the behavior of the Win32 message TB_MAPACCELERATOR, as described in the Platform SDK.

CToolBarCtrl OverviewClass MembersHierarchy Chart