|
-
Jul 12th, 2006, 12:09 AM
#1
Hyperactive Member
Re: [2005] Shell32.FolderView control: The saga continues...
Ask and you shall recieve... something. Hopefully that's what you're looking for.
-
Jul 12th, 2006, 02:47 AM
#2
Thread Starter
Fanatic Member
Re: [2005] Shell32.FolderView control: The saga continues...
I actually discovered that vb classic example just before you posted this. In particular, I downloaded the sample at http://btmtz.mvps.org/enumdeskvb/
It does exactly what I want. Now I have to convert it to .Net and wrap it in a control.
If anybody knows offhand how to filter the files listed (at least by wildcard, but preferably arbitrarily) please speak up and save poor Agent here from a lot more research. My head hurts.
Now the real work begins (translating and wrapping).
-
Jul 14th, 2006, 01:39 AM
#3
Thread Starter
Fanatic Member
Re: [2005] Shell32.FolderView control: The saga continues...
After reviewing the code in the example I posted above, I discovered that it also emulates the FolderView window. As my goal is to avoid emulation and let windows do the control itself, I'm not going to wrap that code into a control.
Basically, all it does is creates a ListView and TreeView using the CreateWindowEx function and populate it with the entire Shell namespace. It also implements the shell context menu.
The reason I want to avoid emulation is that in future versions of windows, Microsoft may significantly change the behavior of the FolderView control without changing the method of creation and interaction (i.e. it'll use the same interfaces and classes).
When this happens, I want my program's control's updated thus.
New direction for project: Anybody know where I can get a tlb that has ALL of the shell interfaces, including the hard to find IShellBrowser interface? I say hard to find because while I now have several shell related tlbs registered on my system, none seem to have IShellBrowser.
I am aware that the MSDN says you don't need to implement it. My program emulates (with much added functionality) a common shell window and needs to implement IShellBrowser to function properly.
Why, oh why couldn't Microsoft add ALL of the shell interface defs to shell32.dll?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|