Help Center

CToolbar.UnhighlightButtonmethod

Removes the highlight state of a given button in a toolbar control.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION UnhighlightButton (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS BOOLEAN
Also documented as HighlightButton — one description covers them all.

Parameters

NameDescription
hToolbarHandle to the toolbar control.
idButtonCommand identifier for a toolbar button.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Sets the highlight state of a given button in a toolbar control.

Reference

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