Help Center

CButton.Indeterminatemethod

Sets the button state to grayed, indicating an indeterminate state. Use this value only if the button has the BS_3STATE or BS_AUTO3STATE style.

WindowsmethodCButton.incdocumented

Syntax

SUB Indeterminate (BYVAL hButton AS HWND)

Parameters

NameDescription
hButtonThe handle of the button control.
hBmpHandle of bitmap.

Return value

The return value is a handle to the bitmap previously associated with the button, if any; otherwise, it is NULL.

Description

Sets the button state to grayed, indicating an indeterminate state. Use this value only if the button has the BS_3STATE or BS_AUTO3STATE style.

Examples

CButton.Indeterminate(hButton)

CButton.SetBitmap(hButton, hBmp)

Reference

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