MFC: CMFCShellTreeCtrl
-
Hi :-) Before I say I can't English writing. So, Understand me please. I want to change property of CMFCShellTreeCtrl in MFC. But, I can't see anywhere. Question 1. Now, I can change CMFCShellTreeCtrl property to see filename. But I can't filtering of file in CMFCShellTreeCtrl. Question 2. How can I set start directory of CMFCShellTreeCtrl to 'C drive' from 'Desktop'. Help me please
-
Hi :-) Before I say I can't English writing. So, Understand me please. I want to change property of CMFCShellTreeCtrl in MFC. But, I can't see anywhere. Question 1. Now, I can change CMFCShellTreeCtrl property to see filename. But I can't filtering of file in CMFCShellTreeCtrl. Question 2. How can I set start directory of CMFCShellTreeCtrl to 'C drive' from 'Desktop'. Help me please
limseungkyun wrote:
Now, I can change CMFCShellTreeCtrl property to see filename. But I can't filtering of file in CMFCShellTreeCtrl.
Just guessing but that almost sounds like you'd need a second pane to show the contents of the selected folder (the tree control in the first pane).
limseungkyun wrote:
How can I set start directory of CMFCShellTreeCtrl to 'C drive' from 'Desktop'.
Is it not as simple as calling:
CMFCShellTreeCtrl::SelectPath(_T("C:\\"))
I've not ever used
CMFCShellTreeCtrl
so my suggestions may be way off."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles