Click to See Complete Forum and Search --> : CTreeView


Asiyah Younas
May 16th, 1999, 10:17 PM
Please if any body can tell me how to use CTreeView to create and display a tree on its main window in a SDI application.
Thanks.

laiason5
May 16th, 1999, 10:27 PM
im not quite sure what you want and i dont know too much about it, but... you can make the View class derived from CFormView(selectable from step 6 of appwizard for sdi programs). this will create a mix of an sdi interface and a dialog box interface so that you can place a tree list right into your main window. hope this helps.

L5

Asiyah Younas
May 17th, 1999, 02:42 AM
But I want to know about the code that how to proceed to implement a tree control and display it on a main frame window in a SDI application,.

sally
May 17th, 1999, 03:35 AM
Make the view in the Frame/Doc/View architecture a CTreeView and voila, you also have a CTreeCtrl

Sally

Sally
May 17th, 1999, 03:35 AM
Make the view in the Frame/Doc/View architecture a CTreeView and voila, you also have a CTreeCtrl

Sally

Asiyah Younas
June 1st, 1999, 11:10 PM
Thanks a lot to all of you for your help. It is really usefull. Once again thank you.