S
Steven
Hello,
I have a problem in using TreeView.
I have made a dialog with TreeView. When I open this dialog , the Drives
in the computer could be show in this TreeView.This time, I click the node
of directory and get into the directory of "my Directory", then , I close
the
dialog.
Next time, when I open the dialog again, I hope the directory that
I have accessed before could be opened automatically. Just like this:
(I mean default, need not to click the node)
|-C:\
|-D:\
| |--Peter
| |--Working
| |--ABC
| |---my Directory
|-E:\
|-F:\
I have tried to use "path.Expand()", but it seems no good working.
Does anyone can give me any advise or show me somecode for sample?.
Thanks.
bestRegards from
Steven Suen
I have a problem in using TreeView.
I have made a dialog with TreeView. When I open this dialog , the Drives
in the computer could be show in this TreeView.This time, I click the node
of directory and get into the directory of "my Directory", then , I close
the
dialog.
Next time, when I open the dialog again, I hope the directory that
I have accessed before could be opened automatically. Just like this:
(I mean default, need not to click the node)
|-C:\
|-D:\
| |--Peter
| |--Working
| |--ABC
| |---my Directory
|-E:\
|-F:\
I have tried to use "path.Expand()", but it seems no good working.
Does anyone can give me any advise or show me somecode for sample?.
Thanks.
bestRegards from
Steven Suen