Question : support CEdit ctrl + c   copy

Hi all,

I created a CEdit control in a CWnd class like so but ctrl + c doesn't seem to support copying
(as opposed to a CEdit created as part of a CDialog window via the resource editor):

class CMyWnd : CWnd {
    CEdit m_Edit;
};

BOOL CMyWnd::OnCreate()
{
    if (!Create(..))
        return -1;

    m_Edit.Create(WS_CHILD | WS_BORDER | WS_VISIBLE | ES_MULTILINE, CRect(20,20,500,500), this, 20000);

    return TRUE;
}

I did not see any other flags for CEdit that are to the effect of 'support ctrl + c' - so I guess it's handled by
CDialog itself? If so, how could I add that in?

Thanks

Answer : support CEdit ctrl + c   copy

This should be of service, courtesy Mr. Dan Rollins:

http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_20131428.html
Random Solutions  
 
programming4us programming4us