Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 3 Jul 2008 15:53:36 -0700 (PDT),    group: microsoft.public.platformsdk.shell        back       


Get Selected Item On Desktop   
Hello, I need to retrive the IShellView and subsquently the
IFolderView interfaces for the Desktop to read the users currently
selected or focussed item (file, folder, recycle bin, etc.)

Tried GetUIObjectOf to get the IShellView from a IShellFolder but it
returns a null interface for the desktop directory folder. (HRESULT :
not implemented)

Any guidance is appriciated.
date: Thu, 3 Jul 2008 15:53:36 -0700 (PDT)   author:   unknown

Re: Get Selected Item On Desktop   
marek.m.sliwa@gmail.com wrote:
> Hello, I need to retrive the IShellView and subsquently the
> IFolderView interfaces for the Desktop to read the users currently
> selected or focussed item (file, folder, recycle bin, etc.)

I've looked into this before and, as far as I can tell,  there's no way to do it.

-- 
Jim Barry, MVP (Windows SDK)
date: Mon, 14 Jul 2008 00:17:39 +0100   author:   Jim Barry

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us