Click to See Complete Forum and Search --> : How do I put a CTabCtrl into a pane of Splitter window?


Liang
April 27th, 1999, 12:53 AM
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-)

frederic
May 4th, 2001, 10:23 AM
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!!!