TB_COMMANDTOINDEX
This message retrieves the zero-based index for the button associated with the specified command identifier.
TB_COMMANDTOINDEX wParam = (WPARAM) idButton;
lParam = 0;
Parameters
- idButton
Command identifier associated with the button. - lParam
Not used.
Return Values
The zero-based index for the button indicates success. The -1 value indicates the specified command identifier is invalid.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.