Windows Dev Center

ComboBox_SetCueBannerText macro

Sets the cue banner text that is displayed for the edit control of a combo box.

Syntax


BOOL ComboBox_SetCueBannerText(
   HWND    hwnd,
   LPCWSTR lpcwText
);

Parameters

hwnd

Type: HWND

A handle to the combo box.

lpcwText

Type: LPCWSTR

A pointer to a null-terminated Unicode string buffer that contains the text.

Return value

Returns TRUE if successful, or an error value otherwise.

Remarks

The cue banner is text that is displayed in the edit control of a combo box when there is no selection.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

See also

Combo Box Features

 

 

Community Additions

ADD
Show:
© 2015 Microsoft