Edit_SetText macro

Sets the text of an edit control.

Syntax


int Edit_SetText(
  HWND hwndCtl,
  LPTSTR lpsz
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

lpsz

Type: LPTSTR

A pointer to a null-terminated string to be set as the text in the control.

Return value

If the function succeeds, the return value is nonzero. If it fails, the return value is zero.

Remarks

The macro expands to a call to SetWindowText.

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