Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Edit_Enable macro (windowsx.h)

Enables or disables an edit control.

Syntax

BOOL Edit_Enable(
  HWND hwndCtl,
  BOOL fEnable
);

Parameters

hwndCtl

Type: HWND

A handle to the edit control.

fEnable

Type: BOOL

TRUE to enable the 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

Feedback

Was this page helpful?

Additional resources