How to destroy and recreate a new view
-
Let's say I have a view, and I make some checking in CView::OnInitialUpdate() and found out it can't load some resources for some reason, so I decide to destroy the view and try to reopen the view. How to close the view and then recreate a new view, all happening inside OnInitialUpdate() ? (is it possible?) Thanx in advance...
-
Let's say I have a view, and I make some checking in CView::OnInitialUpdate() and found out it can't load some resources for some reason, so I decide to destroy the view and try to reopen the view. How to close the view and then recreate a new view, all happening inside OnInitialUpdate() ? (is it possible?) Thanx in advance...
I don't know if this helps, but you can dynamically replace a view... http://www.codeproject.com/splitter/usefulsplitter.asp Cheers, swine Check out Aephid Photokeeper, the powerful digital photo album solution at www.aephid.com.
-
I don't know if this helps, but you can dynamically replace a view... http://www.codeproject.com/splitter/usefulsplitter.asp Cheers, swine Check out Aephid Photokeeper, the powerful digital photo album solution at www.aephid.com.