Click to See Complete Forum and Search --> : Splitter Windows How to delete one of the views and put other...


Braulio
July 23rd, 1999, 08:03 AM
Hi,

I have a "little" problem with splitter windows, I create the splitter windows with:

bRet = m_SplitterTree.CreateStatic(this, 1, 2);
if (bRet) bRet = m_SplitterTree.CreateView(0, 0, RUNTIME_CLASS(CGfxTreeView), CSize(150, 100), pContext);
if (bRet) bRet = m_SplitterTree.CreateView(0, 1, RUNTIME_CLASS(CGfxView), CSize(150, 100), pContext);


Is there any way to delete the second view at run time and replace for another view of another class... ?

Thanks, Bye !
Braulio