Tab control
-
I have a window with 3 pane. In the third pane i want to put tab control. Currently i wrote like this:
m_wndSplitterHor.CreateStatic(this, 2, 1)
m_wndSplitterHor.CreateView(0, 0, RUNTIME_CLASS(CSampleCollectList), CSize(280,300), pContext) //Pane 1
m_wndSplitterHor.SetColumnInfo(0, 200, 0);m_wndSplitterVer.CreateStatic(&m_wndSplitterHor, 1, 2, WS_CHILD | WS_VISIBLE, m_wndSplitterHor.IdFromRowCol(1, 0))
m_wndSplitterVer.CreateView(0, 0, RUNTIME_CLASS(CSampleTree), CSize(250,0), pContext) //Pane 2
m_wndSplitterVer.CreateView(0, 1, RUNTIME_CLASS(/*My tab control*/), CSize(250,0), pContext) //Pane 3So, im stuck with this tab control. I dont know how to add it in the third pane.
-
I have a window with 3 pane. In the third pane i want to put tab control. Currently i wrote like this:
m_wndSplitterHor.CreateStatic(this, 2, 1)
m_wndSplitterHor.CreateView(0, 0, RUNTIME_CLASS(CSampleCollectList), CSize(280,300), pContext) //Pane 1
m_wndSplitterHor.SetColumnInfo(0, 200, 0);m_wndSplitterVer.CreateStatic(&m_wndSplitterHor, 1, 2, WS_CHILD | WS_VISIBLE, m_wndSplitterHor.IdFromRowCol(1, 0))
m_wndSplitterVer.CreateView(0, 0, RUNTIME_CLASS(CSampleTree), CSize(250,0), pContext) //Pane 2
m_wndSplitterVer.CreateView(0, 1, RUNTIME_CLASS(/*My tab control*/), CSize(250,0), pContext) //Pane 3So, im stuck with this tab control. I dont know how to add it in the third pane.
Why not in the same manner ? :)
They sought it with thimbles, they sought it with care; They pursued it with forks and hope; They threatened its life with a railway-share; They charmed it with smiles and soap. :)
-
I have a window with 3 pane. In the third pane i want to put tab control. Currently i wrote like this:
m_wndSplitterHor.CreateStatic(this, 2, 1)
m_wndSplitterHor.CreateView(0, 0, RUNTIME_CLASS(CSampleCollectList), CSize(280,300), pContext) //Pane 1
m_wndSplitterHor.SetColumnInfo(0, 200, 0);m_wndSplitterVer.CreateStatic(&m_wndSplitterHor, 1, 2, WS_CHILD | WS_VISIBLE, m_wndSplitterHor.IdFromRowCol(1, 0))
m_wndSplitterVer.CreateView(0, 0, RUNTIME_CLASS(CSampleTree), CSize(250,0), pContext) //Pane 2
m_wndSplitterVer.CreateView(0, 1, RUNTIME_CLASS(/*My tab control*/), CSize(250,0), pContext) //Pane 3So, im stuck with this tab control. I dont know how to add it in the third pane.
Might [this] article help?