EN_UPDATE notification code

Sent when an edit control is about to redraw itself. This notification code is sent after the control has formatted the text, but before it displays the text. This makes it possible to resize the edit control window, if necessary. The parent window of the edit control receives this notification code through a WM_COMMAND message.


EN_UPDATE

    WPARAM wParam;
    LPARAM lParam;

Parameters

wParam

The LOWORD contains the identifier of the edit control. The HIWORD specifies the notification code.

lParam

A handle to the edit control.

Remarks

Rich Edit 1.0: To receive EN_UPDATE notification codes, specify ENM_UPDATE in the mask sent with the EM_SETEVENTMASK message.

Rich Edit 2.0 and later: The ENM_UPDATE flag is ignored. The EN_UPDATE notification code is always received. However, when Microsoft Rich Edit 3.0 emulates Microsoft Rich Edit 1.0, to receive EN_UPDATE notification codes you must specify ENM_UPDATE in the mask sent with the EM_SETEVENTMASK message.

For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
EN_CHANGE
Other Resources
WM_COMMAND

 

 

Community Additions

ADD
Show:
© 2014 Microsoft