The CUsefulSplitterWnd
class presents two extensions to CSplitterWnd
.
- The first extension is the ability to lock the bar in position so that it can no longer be moved.
m_wndSplitter.LockBar(TRUE);
m_wndSplitter.LockBar(FALSE);
- The second extension allows the views in each pane to be changed dynamically using the
ReplaceView()
method.
m_wndSplitter.ReplaceView(0,1,RUNTIME_CLASS(CForm1),CSize(100,100));
This would replace the view in row 0, column 1 with CForm1
and with a minimum size of 100x100.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here