EM_GETRECT

This message retrieves the formatting rectangle of the control.

Parameter Description  

wParam Is not used.  
lParam Points to a RECT data structure. The control copies the dimensions of the structure.