Add a CEditView into view (runtime error)
Hi
I just tried to add view new views into another view if possible.
OnInitialUpdate:
Code:
CRect clientRect;
GetClientRect(&clientRect);
clientRect.SetRect(clientRect.right -110, clientRect.top+10, clientRect.right-10, clientRect.top +110);
m_View.Create(NULL, L"View", WS_CHILDWINDOW | WS_VISIBLE, clientRect,this,61245);
m_View.ShowWindow(SW_SHOW)
It shows a Edit View which is embedded to view but when i close it gives run-time error. Why is that runtime error occur?
Thanks..
Re: Add a CEditView into view (runtime error)