Edit_SetRect macro

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

Syntax


void Edit_SetRect(
  HWND hwndCtl,
  RECT *lprc
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

lprc

Type: RECT*

A pointer to a RECT structure that specifies the new dimensions of the rectangle. If this parameter is NULL, the formatting rectangle is set to its default values.

Return value

No return value.

Remarks

For more information, see EM_SETRECT.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windowsx.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft