Share via


TB_HIGHLIGHTBUTTON

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Toolbar Controls Messages