Hi !
I have a program. I need to enable users to select directory.
But
wxGenericDirCtrl
don’t show system/hidden files ?
How to I force it ?
And if not possible, how to I replace with a component that do it ?
I use Windows XP, wxPy last version.
Thanx for help: dd
Robin
2
Dara Durum wrote:
Hi !
I have a program. I need to enable users to select directory.
But
wxGenericDirCtrl
don't show system/hidden files ?
How to I force it ?
I don't think that it can be.
And if not possible, how to I replace with a component that do it ?
wx.GenericDirCtrl is just a simple wrapper around a wx.TreeCtrl with some code for scanning directories on demand as nodes in the tree are expanded.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Sunday, May 7, 2006, 7:13:47 PM, Robin Dunn wrote:
Dara Durum wrote:
Hi !
I have a program. I need to enable users to select directory.
But
wxGenericDirCtrl
don't show system/hidden files ?
How to I force it ?
I don't think that it can be.
It can! The following works for me:
my_dir = wx.GenericDirCtrl(self, wx.ID_ANY,
dir = "c:\\",
filter="All files (*.*)|*.*")
my_dir.ShowHidden(True)
And if not possible, how to I replace with a component that do it ?
It seems that it's possible. But if you want to try another control,
download GenericWinDirCtrl from
<http://j.domaindlx.com/elements28/wxpython/GenericWinDirCtrl.html>
and create it passing a DIRCTRL_SHOW_HIDDEN style.
-- tacao
No bits were harmed during the making of this e-mail.