Loading ...
Sorry, an error occurred while loading the content.

Re: Toggling the Splitter Views.

Expand Messages
  • iclassfactory2@usa.net
    Dear Nenad, I am still expecting some inputs on this problem. Could you help me out to do this, as you earlier said that I need some time on this. Thanks &
    Message 1 of 3 , Oct 2, 2000
    View Source
    • 0 Attachment
      Dear Nenad,

      I am still expecting some inputs on this problem.
      Could you help me out to do this, as you earlier said that I need
      some time on this.

      Thanks & Regards,
      K M Bansal.



      --- In wtl@egroups.com, iclassfactory2@u... wrote:
      > Dear Nenad,
      >
      > * To hide a pane we can do something like following, but actually
      it
      > does not refresh the upper pane to occupy the entire left pane.
      >
      > This thing does not actually work in most of the cases such as when
      a
      > user wants to hide one of the entire pane dynamically like ...
      >
      > * Also there can be a case when a user wants to hide the left pane
      > itself ? Then what.. ?
      >
      >
      > LRESULT CChildFrame::OnHideCurve(WORD /*wNotifyCode*/,
      WORD /*wID*/,
      > HWND /*hWndCtl*/, BOOL& /*bHandled*/)
      > {
      > m_leftSplitter.SetSplitterPanes(m_LeftView->m_hWnd,
      > NULL);
      > // Make the second pane to NULL but this doe not server the
      purpose..?
      > m_leftSplitter.UpdateSplitterLayout();
      > m_splitter.UpdateSplitterLayout();
      > return 0;
      > }
      >
      > LRESULT CChildFrame::OnViewCurve(WORD /*wNotifyCode*/,
      > WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
      > {
      > m_leftSplitter.SetSplitterPanes(m_LeftView->m_hWnd,
      > m_bottomLeftView);
      > m_leftSplitter.UpdateSplitterLayout();
      > m_splitter.UpdateSplitterLayout();
      > return 0;
      > }
      >
      >
      > Thanks & regards,
      > Krishna Mohan Bansal.
      >
      > ----------------------------------------------------------------
      >
      >
      > --- In wtl@egroups.com, iclassfactory2@u... wrote:
      > > Dear Nenad,
      > >
      > > I have created a splitter like the one below.
      > > Here I have 2 issues here.
      > >
      > > |---------------------------|-----------------------------|
      > > | | |
      > > | m_topLeftView | m_toprightview |
      > > | | |
      > > |---------------------------|-----------------------------|
      > > | | m_middleRightView |
      > > | | |
      > > | m_bottomLeftView |-----------------------------|
      > > | | m_bottomRightView |
      > > | | |
      > > |---------------------------|-----------------------------|
      > >
      > >
      > > * For toggling the view panes, showing or hiding one of the pane
      > (s),
      > > I have a toolbar for this purpose. Here I am dynamically showing
      or
      > > hiding one of splitter views.
      > > After hiding I am calling the UpdateSplitterLayout( ). But the
      view
      > > does not happen to update properly. I also want the LeftSplitter
      > > entirely to be hidden so I have only the Right Pane visible.
      > >
      > > For convenience I am also attaching the sample code at the
      clipcode
      > > site.
      > >
      > > * Also Nenad I want multiple views to exist with the toolbar. Is
      it
      > > possible here in the view ?
      > > Since a hook is provided for toolbar, here for each view pane, it
      > > crashes when I try to open more than one view. How to avoid
      this ?
      > Pl
      > > Don't suggest to use the Mainframe for toggling between the child
      > > views / toolbar.
      > >
      > > Thanks & regards,
      > > Krishna Mohan Bansal.
    Your message has been successfully submitted and would be delivered to recipients shortly.