다음을 통해 공유


CComboBox::Copy

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

void Copy( );

Example

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

Requirements

Header: afxwin.h

See Also

Concepts

CComboBox Class

CComboBox Members

Hierarchy Chart

CComboBox::Clear

CComboBox::Cut

CComboBox::Paste

WM_COPY