TB_SETCMDID message

Sets the command identifier of a toolbar button.

Parameters

wParam

Zero-based index of the button whose command identifier is to be set.

lParam

Command identifier.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

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