windows_programming_notes.nbk: Home | Index | Next Page: EN_VSCROLL | Previous Page: EN_SETFOCUS


 EN_UPDATE

Sent when an edit control is about to redraw itself. This notification message 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 message through a WM_COMMAND message.

Syntax

    EN_UPDATE
        WPARAM wParam
        LPARAM lParam;Parameters

Return Value

No return value.

Remarks

Rich Edit 1.0: To receive EN_UPDATE notifications, 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 is always received. However, when Microsoft Rich Edit 3.0 emulates Rich Edit 1.0, to receive EN_UPDATE notifications 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.

Notification Requirements


windows_programming_notes.nbk: Home | Index | Next Page: EN_VSCROLL | Previous Page: EN_SETFOCUS


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time