다음을 통해 공유


EM_GETRECT (Windows CE 5.0)

Send Feedback

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.

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 Values

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

OS Versions: Windows CE 1.0 and later.
Header: Windows.h.

See Also

EM_SETRECT | EM_SETRECTNP | RECT | Edit Boxes Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.