Share via


TB_HIGHLIGHTBUTTON (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

Nonzero indicates success. Zero indicates otherwise.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Toolbar Controls Messages