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
|