Поделиться через


EM_GETRECT (Windows Embedded CE 6.0)

1/6/2010

This message retrieves the formatting rectangle of an edit control. The formatting rectangle is the limiting rectangle of the text. The limiting rectangle is independent of the size of the edit-control window.

Syntax

EM_GETRECT 
    wParam = 0; 
    lParam (LPARAM)(LPRECT) lprc;

Parameters

  • wParam
    Not used; set to 0.
  • lprc
    Long pointer to the RECT structure that receives the formatting rectangle.

Return Value

The return value is not a meaningful value.

Remarks

You can modify the formatting rectangle of a multiline edit control by using the EM_SETRECT and EM_SETRECTNP messages.

Requirements

Header windows.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Edit Boxes Messages
EM_SETRECT
EM_SETRECTNP
RECT