Share via


TB_COMMANDTOINDEX (Windows CE 5.0)

Send Feedback

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.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.