Muokkaa

Jaa


TB_HASACCELERATOR message

[Intended for internal use; not recommended for use in applications. This message may not be supported in future versions of Windows.]

Retrieves a count of toolbar buttons that have the specified accelerator character.

Parameters

wParam

A WCHAR representing the input accelerator character to test.

lParam

Pointer to an int that receives the number of buttons that have the accelerator character.

Return value

The return value is not used.

Security Considerations

Using this message might compromise the security of your program.

Remarks

First, the system queries all toolbar buttons for matching accelerators. If no matches are found, the system sends the TBN_MAPACCELERATOR notification to the parent window, requesting the index of the button that has the specified accelerator character. If the parent provides an index, the count is set to 1.

Requirements

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