TB_HIGHLIGHTBUTTON

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

  1. 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.