Prev Next

TB_SETCMDID Overview  Group

The TB_SETCMDID message sets the command identifier of a toolbar button.

TB_SETCMDID 

wParam = (WPARAM) (UINT) index; 

lParam = (WPARAM) (UINT) cmdId; 

 

Parameters

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

Return Values

Returns TRUE if successful or FALSE otherwise.