show/hide child splitter window
- From: "bhu Boue vidya" <bhuvidya@xxxxxxxxxxxx>
- Date: 8 Aug 2006 21:26:23 -0700
hi there
i have an app which has, as its main view layout, a series of nested
splitters
one of these nested splitters i want to be a 'dynamically changing
splitter layout'
that is, the user selects a different task to perform, and this
splitter child window 'changes' to show the different task layout
the way i have implemented it so far is each Task manager object
creates its own child splitter window into the same pane of the main
splitter window
thus
in mainfrm:
CSplitterWnd m_wndMainSplitter;
m_wndMainSplitter.CreateStatic(...);
in TaskMgr1:
CSplitterWnd m_wndChildSplitter;
m_wndChildSplitter.CreateStatic(
&m_wndMainSplitter,
...,
m_wndMainSplitter.IdFromRowCol(1, 0);
and similarly in TaskMgr2:
CSplitterWnd m_wndChildSplitter;
m_wndChildSplitter.CreateStatic(
&m_wndMainSplitter,
...,
m_wndMainSplitter.IdFromRowCol(1, 0);
then i use m_wndChildSplitter.ShowWindow(SW_SHOW/SW_HIDE) to try and
switch between child splitters
BUT, this doesn't work!!!
what is the best way to achieve my goals????
tia
bhu
.
- Follow-Ups:
- Re: show/hide child splitter window
- From: bhu Boue vidya
- Re: show/hide child splitter window
- Prev by Date: Re: _stprintf
- Next by Date: Re: Excel Like Headers in List Control
- Previous by thread: MDI focus problem
- Next by thread: Re: show/hide child splitter window
- Index(es):
Relevant Pages
|