EN_REQUESTRESIZE notification code

Notifies a rich edit control's parent window that the control's contents are either smaller or larger than the control's window size. A rich edit control sends this notification code in the form of a WM_NOTIFY message.

EN_REQUESTRESIZE

    pReqResize = (REQRESIZE *) lParam; 

Parameters

lParam

A REQRESIZE structure that receives the requested size.

Return value

This notification code does not return a value.

Remarks

To support the bottomless behavior of a rich edit control, the parent window must resize the control when it receives this notification code.

To receive EN_REQUESTRESIZE notification codes, specify ENM_REQUESTRESIZE in the mask sent with the EM_SETEVENTMASK message.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

Reference

REQRESIZE

WM_NOTIFY