Edit_Enable macro

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

Zero if the window was previously disabled; otherwise nonzero.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windowsx.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft