Adding a control to a tab control 
Author Message
 Adding a control to a tab control

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



Sat, 31 Jan 2004 00:45:14 GMT  
 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




Thu, 05 Feb 2004 12:02:56 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Adding a control to a tab control

2. Adding a control to a tab control

3. How to Add My own Property Tab in the PropertyGrid for Button Control

4. adding controls to tab pages

5. Adding things to Tab Controls

6. Adding dialogs using Tab Control (CTabCtrl)

7. How to Add a tabbed control to CFormView???

8. Newbie->How to add Tabbed control to child window

9. Newbie->How to add Tabbed control to child window

10. How to add controls in TAB?

11. How to Add a tabbed control to CFormView???

12. Tab Control With RichText Control

 

 
Powered by phpBB® Forum Software