I am pretty new to wxWidgets.. does it have a file browser hidden away where I can see it - or do I need to implement it from scratch?
Peter
File Browser Topic is solved
Something like wxFileDialog?
Hi Peter,
If you use the term "file browser" in the same way that I do, something to locate, display and perhaps select files/dirs, you want <a href="http://www.wxwindows.org/manuals/2.6.2/ ... ialog.html" target="_blank">wxGenericDirCtrl</a>. You could put two of these in a wxSplitterWindow, and make the left one display only directories, (BTW, if you want a directory-only version of wxFileDialog, there is <a href="http://www.wxwindows.org/manua ... Dialog</a>.)
wxGenericDirCtrl only displays things, so if you want a file manager (that will also copy/paste/archive etc) you'll have to add this yourself.
HTH,
David
If you use the term "file browser" in the same way that I do, something to locate, display and perhaps select files/dirs, you want <a href="http://www.wxwindows.org/manuals/2.6.2/ ... ialog.html" target="_blank">wxGenericDirCtrl</a>. You could put two of these in a wxSplitterWindow, and make the left one display only directories, (BTW, if you want a directory-only version of wxFileDialog, there is <a href="http://www.wxwindows.org/manua ... Dialog</a>.)
wxGenericDirCtrl only displays things, so if you want a file manager (that will also copy/paste/archive etc) you'll have to add this yourself.
HTH,
David
-
- Filthy Rich wx Solver
- Posts: 210
- Joined: Sat May 07, 2005 8:24 pm
- Location: Eskisehir, TURKEY
- Contact:
as for me ..... as quote ..... as benedictebenedicte wrote:There is no "File Explorer" control.
You will probably need to create your own.
A left pane with a wxTreeCtrl, and a right pane with a wxListCtrl (so that you can choose icons/report view).
- T U R K E Y ?
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
Thank you David, that was just the information I was looking for!DavidHart wrote:Hi Peter,
If you use the term "file browser" in the same way that I do, something to locate, display and perhaps select files/dirs, you want <a href="http://www.wxwindows.org/manuals/2.6.2/ ... ialog.html" target="_blank">wxGenericDirCtrl</a>. You could put two of these in a wxSplitterWindow, and make the left one display only directories, (BTW, if you want a directory-only version of wxFileDialog, there is <a href="http://www.wxwindows.org/manua ... Dialog</a>.)
wxGenericDirCtrl only displays things, so if you want a file manager (that will also copy/paste/archive etc) you'll have to add this yourself.
HTH,
David
Assist accepted
Cheers
Peter