Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I get the IFolderView of the Desktop on Windows 7?

445 views
Skip to first unread message

MasamuneXGP

unread,
Aug 8, 2010, 12:47:50 AM8/8/10
to
Greetings all,

I'm looking for a way to get a hold of the IFolderView instance of the
Desktop. In previous versions of windows, I could use the
undocumented WM_GETISHELLBROWSER message (WM_USER + 7) to get the
Desktop's IShellBrowser, then use its QueryActiveShellView method to
get the IShellView instance, and then use QueryInterface on that to
get the IFolderView. Unfortunately, it seems WM_USER+7 no longer
returns anything on Windows 7, which invalidates this approach. Is
there any other way?

g...@google.com

unread,
Mar 28, 2013, 4:32:08 PM3/28/13
to
Looks like Raymond Chen's just posted something very useful regarding this on his blog: http://blogs.msdn.com/b/oldnewthing/archive/2013/03/18/10403054.aspx
0 new messages