Help Center

CToolbar.Indeterminatemethod

Sets or clears the indeterminate state of the specified button in a toolbar.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION Indeterminate (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG, BYVAL fIndeterminate AS SHORT) AS BOOLEAN

Parameters

NameDescription
hToolbarHandle to the toolbar control.
idButtonCommand identifier of the button whose indeterminate state is to be set or cleared.
fIndeterminateTRUE to set the indeterminate state or FALSE to clear it.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Sets or clears the indeterminate state of the specified button in a toolbar.

Reference

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