다음을 통해 공유


TB_HIGHLIGHTBUTTON

This message sets the highlight state of a specified button in a toolbar control.

TB_HIGHLIGHTBUTTON wParam = (WPARAM) idButton;
  lParam = (LPARAM) MAKELONG(fHighlight,0);

Parameters

  • idButton
    Command identifier for a toolbar button.
  • fHighlight
    Boolean that specifies the highlight state to be set. If this value is TRUE, the button is highlighted; if FALSE, the button is set to its default state.

Return Values

Nonzero indicates success. Zero indicates otherwise.

Requirements

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

See Also

Toolbar Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.