Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

ComboBox_SetText macro

Sets the text of a combo box.

Syntax


int ComboBox_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 used as the control text.

Return value

If the macro 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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.