Help Center

CButton.Disablemethod

Disables the button.

WindowsmethodCButton.incdocumented

Syntax

FUNCTION Disable (BYVAL hButton AS HWND) AS BOOLEAN

Description

Disables the button. Returns FALSE if the button was previously disabled; otherwise TRUE.

Example

CButton.Disable(hButton)

Reference

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