ComboBox_SetCueBannerText macro (commctrl.h)

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

Syntax

void ComboBox_SetCueBannerText(
   hwnd,
   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

None

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h

See also

Combo Box Features