다음을 통해 공유


TB_SETCMDID

This 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 for which the command identifier is to be set.
  • cmdId
    Command identifier.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h

See Also

Toolbar Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.