Поделиться через


CComboBox::Paste

Inserts the data from the Clipboard into the edit control of the combo box at the current cursor position.

void Paste( );

Remarks

Data is inserted only if the Clipboard contains data in CF_TEXT format.

Example

// 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();

Requirements

Header: afxwin.h

See Also

Reference

CComboBox Class

Hierarchy Chart

CComboBox::Clear

CComboBox::Copy

CComboBox::Cut

WM_PASTE

Other Resources

CComboBox Members