次の方法で共有


TB_HIGHLIGHTBUTTON (Compact 2013)

3/28/2014

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

See Also

Reference

Toolbar Controls Messages