CComboBox::Paste

void Paste( );

Remarks

Inserts the data from the Clipboard into the edit control of the combo box at the current cursor position. Data is inserted only if the Clipboard contains data in CF_TEXT format.

Example

// The pointer to my combo box.
extern CComboBox* pmyComboBox;

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

CComboBox OverviewClass MembersHierarchy Chart

See Also   CComboBox::Clear, CComboBox::Copy, CComboBox::Cut, WM_PASTE