Button_Enable macro (windowsx.h)
Enables or disables a button.
Syntax
void Button_Enable(
hwndCtl,
fEnable
);
Parameters
hwndCtl
Type: HWND
A handle to the button control.
fEnable
Type: BOOL
TRUE to enable the button, or FALSE to disable it.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | windowsx.h |