TB_COMMANDTOINDEX

This message retrieves the zero-based index for the button associated with the specified command identifier.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

  1. TB_COMMANDTOINDEX wParam = (WPARAM) idButton; lParam = 0;

Parameters

idButton

Command identifier associated with the button.

Return Values

The zero-based index for the button indicates success.