Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TREE CONTROL - Resizing dynamically

Status
Not open for further replies.

kefletch

MIS
Jul 15, 1999
1
US
I am using a tree control object and would like to resize the control to fit the client window, but can not find how to get to the size properties of a tree control. Any help would be appreciated.<br>
<br>
Fletch
 
I suspect that you are using an instance of CTreeCtrl. I think you should have a look at the use of CTreeView. I am in the process of looking into this myself at the moment but I think you should derive a view from this class. It only has one member function (something like GetTreeCtrl() tha returns a reference to the CTreeCtrl object it contains.<br>
From what I understand, this is a tree control that automatically resizes to the size of its parent window - like Explorer - this may be what you are trying to do.<br>
<br>
HTH <br>
<br>
Steve<br>
<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top