Partager via


CB_GETCUEBANNER message

Obtient le texte de la bannière d’indicateur affiché dans le contrôle d’édition d’une zone de liste modifiable. Send this message explicitly or by using the ComboBox_GetCueBannerText macro.

Parameters

wParam [in]

Pointeur vers une mémoire tampon de chaîne Unicode qui reçoit le texte de la bannière d’indicateur. L’application appelante est chargée d’allouer la mémoire pour la mémoire tampon. 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

Retourne 1 en cas de réussite ou une valeur d’erreur dans le cas contraire.

S’il n’y a pas de texte de bannière de repère à obtenir, la valeur de retour est 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
Client minimum pris en charge
Windows Vista [applications de bureau uniquement]
Serveur minimum pris en charge
Windows Server 2008 [applications de bureau uniquement]
Header
CommCtrl.h

See also

Fonctionnalités de zone de liste déroulante