Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Enables or disables a static control.
Syntax
BOOL Static_Enable(
HWND hwndCtl,
BOOL fEnable
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
fEnable
Type: BOOL
TRUE to enable the static control, or FALSE to disable it.
Return value
Type: BOOL
Zero if the window was previously disabled; otherwise nonzero.
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 |