Re: opening a window
- Posted by CChris <christian.cuvier at ?gri?ulture.gouv.fr> Nov 16, 2007
- 537 views
Kat wrote: > > > Since the arguement > is now > "what does > Explorer look like?", > i posted a screen shot > at > <a > href="http://209.51.143.130/~katsmeow/explorerview.jpg">http://209.51.143.130/~katsmeow/explorerview.jpg</a> > (sorry for the word > wrap of the > url, this java- > script web posting > thing bites.) > > Kat The explorer like window posted on your site is a definitely complex window, but, adding xControls (D. Phillips and G. Haberek) to win32lib, you sure can build it. From what I can see, you need: 1/ A standard application framework, complete with a statusbar, menubar and toolbar. Trivial. Be sure to look for all available toolbar button styles, and you'll get it working; 2/ A VSplitter control from xControls. This could be something to import into win32lib. 3/ A standard TreeView control from win32lib (folder tree). It has almost everything right out of the box - you'll have to implement incremental search if you need it; 4/ A ListView in Small icons mode: win32lib has that (directory display). You'll have to implement drag and drop, as the library doesn't handle it natively for this control. It looks like everyone uses the LVS_REPORT style and nothing else. 5/ Not sure about the thingy to close the folder tree window, but I guess it is a standard component on WinXP. Since the library caters for Win98 users, it doesn't support any modern component - the newer RichEdits being an exception. I'll try to steer away from that, time permitting. Explorer, even on a diet, is a full fledged application. The library is a(n advanced) component provider, so I don't think it is supposed to supply this sort of window - assortment of windows actually - out of the box. But all the spare parts are available, and all connectors as well. CChris