CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    2

    How do I put a CTabCtrl into a pane of Splitter window?

    I very want to know how do I put a CTabCtrl into a pane of Splitter windows, and the splitter windows is build on a ChildFrame.

    Thanks
    LZ 8-)

  2. #2
    Join Date
    Nov 1999
    Location
    France
    Posts
    8

    Re: How do I put a CTabCtrl into a pane of Splitter window?

    I've made this with a subClass of CFormView wich hold a CTabCtrl
    The main method of this class is OnSelChangeTab...() which allow you to hide or show some panels depending on the selected tab.
    These panels are CDialog with Child and no border properties
    These panels are instantiate during initialisation and created using the Create(...) method.
    After that they are moved and resized to whith MoveWindow().
    You can hide or show them with ShowWindow(SW_SHOW) or ShowWindow(SW_HIDE).

    hope its help

    Surf is life!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured