Help Center

CToolbar.IsButtonCheckedmethod

Determines whether the specified button in a toolbar is checked.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION IsButtonChecked (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 checked, or zero otherwise.

Description

Determines whether the specified button in a toolbar is checked.

Reference

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