Dear Fons Thank you for your answer, but I have a follow-up question: I suppose, that I have to call TSystemDirectory::Browse(fBrowser). However, how do I create fBrowser, if I do not need to use TBrowserImp? Best regards Christian Fons Rademakers wrote: >Hi Christian, > > >On Sun, 2003-06-22 at 22:32, cstrato wrote: > > >>Dear Rooters >> >>Since TRootBrowser is able to browse the system directories, I am >>trying to extract the code for TGListTree in my own app. >> >>I have already managed to display a system directory in TGListTree, >>but double-clicking does not show the contents. >> >> >> > >there is a cooperation between TSystemFile and TSystemDirectory and the >TRootBrowser to browse system file directories. > > > >>It is not quite clear to me if some of the needed code is in other >>classes such as TBrowserImp, TBrowser, TGuiFactory?? >> >> >> >TBrowserImp is not needed, it is just an abstract interface to >TRootBrowser, TGuiFactory just creates a TRootBrowser for the TBrowser >and TBrowser delegates most of its work to the actual TRootBrowser, >except for the timer refreshing the browser. > >You will have to look at TSystemFile and TSystemDirectory. > >Cheers, Fons. > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET