Udostępnij przez


CB_GETCUEBANNER message

Pobiera tekst baneru wskazówek wyświetlany w kontrolce edycji pola kombi. Send this message explicitly or by using the ComboBox_GetCueBannerText macro.

Parameters

wParam [in]

Wskaźnik do buforu ciągu Unicode, który odbiera tekst baneru cue. Aplikacja wywołująca jest odpowiedzialna za przydzielanie pamięci dla buforu. The buffer size must be equal to the length of the cue banner string in WCHARs, plus 1 for the terminating NULLWCHAR.

lParam [in]

The size of the buffer pointed to by wParam in WCHARs.

Return value

Zwraca wartość 1 w przypadku powodzenia lub wartość błędu w przeciwnym razie.

Jeśli nie ma tekstu baneru wskazówek do pobrania, zwracana wartość to 0. If the calling application fails to allocate a buffer, or set lParam before sending this message, undefined behavior may result and the return value may not be reliable.

Requirements

Requirement Value
Minimalny obsługiwany klient
Windows Vista [tylko aplikacje klasyczne]
Minimalny obsługiwany serwer
Windows Server 2008 [tylko aplikacje klasyczne]
Header
CommCtrl.h

See also

funkcji pola kombi