Tree View Control as file view 
Author Message
 Tree View Control as file view

Hi,

I am trying to use the tree view control as a Windows Explorer type
directory control.  What is the easiest way to do this.  Do I have to
recurse through my disk and directory structure constantly and populate the
tree view accordingly or is there an easier way to do this.  I also want to
be able to display stuff, like the control panel and printers folders under
the disk list along with icons for some of our bespoke applications.

Suggestion please,

Regards,

Fergal..



Tue, 19 Sep 2000 03:00:00 GMT  
 Tree View Control as file view



Quote:
>I am trying to use the tree view control as a Windows Explorer type
>directory control.  What is the easiest way to do this.

Have a look at the examples on Dir and Outline.

DoDi



Thu, 21 Sep 2000 04:00:00 GMT  
 Tree View Control as file view

Yes but as far as I can see this would require sine quite in depth code and
re-populating the control every time the user changes directory or drive.
Is there an API call or anything (like SHBrowseForFolder) that will put
everything I need into the TreeView control

Cheers,

Fergal..
(PS.  I couldn't find anything in the help for Outline - what do you mean).

Quote:


Moran"

>>I am trying to use the tree view control as a Windows Explorer type
>>directory control.  What is the easiest way to do this.

>Have a look at the examples on Dir and Outline.

>DoDi



Fri, 22 Sep 2000 03:00:00 GMT  
 Tree View Control as file view

NO there is not !
Even the dir command is not very helpfull. Iam using a DLL for this.
The DIR command opens "one dir instance" if you use it recursiv it
overwrites this instance in every sub call. I use the Tree controll
for displaying DB structure. I read the whole structrue into the
controll.
In your case i would say, you have to populate the current dir on
expand or collaps of a branch (would be the easiest way i think) so
you could also use the DIR command for this.
Hope i could help a little !

Quote:

>Yes but as far as I can see this would require sine quite in depth code and
>re-populating the control every time the user changes directory or drive.
>Is there an API call or anything (like SHBrowseForFolder) that will put
>everything I need into the TreeView control

>Cheers,

>Fergal..
>(PS.  I couldn't find anything in the help for Outline - what do you mean).



>Moran"

>>>I am trying to use the tree view control as a Windows Explorer type
>>>directory control.  What is the easiest way to do this.

>>Have a look at the examples on Dir and Outline.

>>DoDi

****************************************
Mag. Josef-Alexander Haselberger
Siemens PSE Sbg

****************************************


Sat, 23 Sep 2000 03:00:00 GMT  
 Tree View Control as file view



Quote:
>Is there an API call or anything (like SHBrowseForFolder) that will put
>everything I need into the TreeView control

No, that's available only to List and Combo boxes, and already available as
customized controls.

Quote:
>(PS.  I couldn't find anything in the help for Outline - what do you mean).

I'm not sure, but AFAIR there was an example, how to populate it with a
directory structure. But I don't remember to which property or method that
example is linked :-(

DoDi



Sat, 23 Sep 2000 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. tree view and list view..

2. Tree View / List View

3. List View to Tree View

4. Tree View & List View Icons

5. How can you populate a tree view control with the files and directorys of a disk

6. Tree control / List view in ONE control?

7. File Tree Views

8. File Explorer in a Tree View box, but displaying only one folder

9. Tree view file browser.

10. Dragging file to a tree view

11. CCRP File Tree View OLE Drag and Drop???

12. File Tree View

 

 
Powered by phpBB® Forum Software