Edit_GetRect macro

Gets the formatting rectangle of an edit control. You can use this macro or send the EM_GETRECT message explicitly.

Syntax


void Edit_GetRect(
   HWND hwndCtl,
   RECT *lprc
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

lprc

Type: RECT*

A pointer to a RECT structure that receives the formatting rectangle.

Return value

No return value.

Remarks

For more information, see EM_GETRECT.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Windowsx.h

 

 

Show: