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

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.