EN_REQUESTRESIZE

The EN_REQUESTRESIZE notification message 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 message in the form of a WM_NOTIFY message.

EN_REQUESTRESIZE 
wParam = (WPARAM) (UINT) uID; 
lParam = (LPARAM) (REQRESIZE FAR *) lpReSize; 
 

Parameters

uID
Identifier of the rich edit control.
lpReSize
Pointer to a REQRESIZE structure.

Return Values

No return value.

Remarks

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

To receive EN_REQUESTRESIZE notifications, specify the ENM_REQUESTRESIZE flag in the mask sent with the EM_SETEVENTMASK message.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.

See Also

Rich Edit Controls Overview, Rich Edit Notification Messages, REQRESIZE, WM_NOTIFY