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.
Syntax
SUB Indeterminate (BYVAL hButton AS HWND)
Parameters
| Name | Description | |
|---|---|---|
hButton | The handle of the button control. | |
hBmp | Handle 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