More CChildFrame questions



I have my own pointer to a view:
ViewResourceLoadChart *m_viewResourceLoadingChart;

I create in my code. the view is attached to a CChildFrame, but when I call
close on a childframe (pChild->SendMessage(WM_CLOSE);), it destroys the view
as well. How can I retain my view for future use?


.


Loading