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>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.