CComboBox::Paste

更新 : 2007 年 11 月

コンボ ボックスのエディット コントロールの現在のカーソル位置に、クリップボードに保存されているデータを挿入します。

void Paste( );

解説

クリップボードに CF_TEXT 形式のデータが保存されている場合だけ、カーソル位置にデータが挿入されます。

使用例

// Replace all of the text in the combo box's edit control with the text
// in the clipboard.
m_MyComboBox.SetEditSel(0, -1);
m_MyComboBox.Paste();

必要条件

ヘッダー : afxwin.h

参照

参照

CComboBox クラス

階層図

CComboBox::Clear

CComboBox::Copy

CComboBox::Cut

WM_PASTE

その他の技術情報

CComboBox のメンバ