次の方法で共有


CB_GETCUEBANNER message

コンボ ボックスの編集コントロールに表示されるキュー バナー テキストを取得します。 Send this message explicitly or by using the ComboBox_GetCueBannerText macro.

Parameters

wParam [in]

キュー バナー テキストを受け取る Unicode 文字列バッファーへのポインター。 呼び出し元のアプリケーションは、バッファーのメモリを割り当てる役割を担います。 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

成功した場合は 1 を返し、それ以外の場合はエラー値を返します。

取得するキュー バナー テキストがない場合、戻り値は 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
サポートされている最小のクライアント
Windows Vista [デスクトップ アプリのみ]
サポートされている最小のサーバー
Windows Server 2008 [デスクトップ アプリのみ]
Header
CommCtrl.h

See also

コンボ ボックス機能の