
Adding a control to a tab control
1) Add the tab and tree controls to the dialog resource.
2) When you are initializing the dialog, hide the tree control and set
up the tab control.
3) Process the TCN_SELCHANGE notification. If appropriate (i.e. the
correct tab is selected), show the tree control. If a different tab is
selected hide the tree and display the other controls.
Not as easy as VB, but then this isn't a VB group.
Quote:
> I am having a really rough time trying to add a treecontrol to on of
the
> tabs on a tab control. I can do this easily in any language but VC++
because
> it seems like I cant drag and drop the control onto the tab. Is this
the
> case. How would I add a tree control to a tab on a tab control.
Visually or
> in code. Thanks in advance.
> Ryan Taylor