title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TB_COMMANDTOINDEX message (Commctrl.h) |
Retrieves the zero-based index for the button associated with the specified command identifier. |
vs|controls|~\controls\toolbar\messages\tb_commandtoindex.htm |
|
|
|
|
|
reference |
05/31/2018 |
Retrieves the zero-based index for the button associated with the specified command identifier.
-
wParam
-
Command identifier associated with the button.
-
lParam
- Must be zero.
Returns the zero-based index for the button or -1 if the specified command identifier is invalid.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|