BCGControlBar Pro for MFC
BOOL CBCGPEditCtrl::CopyTextToClipboard ( LPCTSTR  lpszText,
int  nLen = -1 

Copies a text string to the Clipboard.

Nonzero if the text was copied successfully; otherwise 0.

This function is used internally by the edit control to copy a text string to the Clipboard in CF_TEXT format.

lpszTextSpecifies the text to copy.
nLenSpecifies the text to copy size.