Help Center

CToolbar.IsButtonHighlightedmethod

Checks the highlight state of a toolbar button.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION IsButtonHighlighted (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS LONG

Parameters

NameDescription
hToolbarHandle to the toolbar control.
idButtonCommand identifier of the button.

Return value

Returns nonzero if the button is highlighted, or zero otherwise.

Description

Checks the highlight state of a toolbar button.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:881
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class