CComboBox::Copy
复制当前选择,如果有,组合框的编辑控件在剪贴板上的。CF_TEXT 格式。
void Copy( );
示例
// Copy all of the text from the combo box's edit control
// to the clipboard.
m_MyComboBox.SetEditSel(0, -1);
m_MyComboBox.Copy();
要求
Header: afxwin.h
复制当前选择,如果有,组合框的编辑控件在剪贴板上的。CF_TEXT 格式。
void Copy( );
// Copy all of the text from the combo box's edit control
// to the clipboard.
m_MyComboBox.SetEditSel(0, -1);
m_MyComboBox.Copy();
Header: afxwin.h