Compartilhar via


CB_GETCUEBANNER message

Obtém o texto da faixa de sinalização exibido no controle de edição de uma caixa de combinação. Send this message explicitly or by using the ComboBox_GetCueBannerText macro.

Parameters

wParam [in]

Um ponteiro para um buffer de cadeia de caracteres Unicode que recebe o texto da faixa de sinalização. O aplicativo de chamada é responsável por alocar a memória para o buffer. 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

Retorna 1 se tiver êxito ou um valor de erro de outra forma.

Se não houver nenhum texto de faixa de sinalização a ser obtido, o valor retornado será 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
Cliente mínimo com suporte
Windows Vista [somente aplicativos da área de trabalho]
Servidor mínimo com suporte
Windows Server 2008 [somente aplicativos da área de trabalho]
Header
CommCtrl.h

See also

Recursos da caixa de combinação