Help Center

CComboEx.GetCueBannerTextmethod

Gets the cue banner text displayed in the edit control of a combo box.

WindowsmethodCCombo.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION GetCueBannerText (BYVAL hCombo AS HWND, BYVAL pwszText AS WSTRING PTR, BYVAL cchText AS DWORD) AS BOOLEAN
FUNCTION GetCueBannerText (BYVAL hCombo AS HWND, BYVAL cchText AS DWORD) AS DWSTRING

Parameters

NameDescription
hComboThe handle of the combo box control.
pwszTextA pointer to a Unicode string buffer that receives the cue banner text. The calling application is responsible for allocating the memory for the buffer. The buffer size must be equal to the length of the cue banner string in characters, plus 1—for the terminating NULL character.
cchTextThe size of the buffer pointed to by pwszText in characters.

Return value

Returns TRUE if successful, or an error value otherwise.

Description

Gets the cue banner text displayed in the edit control of a combo box.

Example

DIM dwsText AS DWSTRING = CCombo.GetCueBannerText(hCombo, 260)

Reference

  • Include file CCombo.inc
  • Documented in Windows/WIndows Controls/CCombo Class.md
  • Topic: CCombo Class