This documentation is archived and is not being maintained.


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

void Paste( );

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

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