This topic has not yet been rated - Rate this topic

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

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.