CComboBox::Copy

void Copy( );

Remarks

Copies the current selection, if any, in the edit control of the combo box onto the Clipboard in CF_TEXT format.

Example

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

// Copy all of the text from the combo box's edit control 
// to the clipboard.
pmyComboBox->SetEditSel(0, -1);
pmyComboBox->Copy();

CComboBox OverviewClass MembersHierarchy Chart

See Also   CComboBox::Clear, CComboBox::Cut, CComboBox::Paste, WM_COPY