0 out of 3 rated this helpful - Rate this topic

EN_UPDATE notification code

Applies to: desktop apps only

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

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

See also

Reference
EN_CHANGE
Other Resources
WM_COMMAND

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ