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

Vista Default Action for a Namespace Item not invoked

112 views
Skip to first unread message

prakash

unread,
Feb 6, 2007, 8:34:23 AM2/6/07
to
Dear Friends.

I have shell namespace extension registered under "My Computer". It is
working fine in Windows XP. I got some problems in Windows Vista. I
cant able to navigate my NSE items using double click. Nothing
happened when i double click an item.

I found the vista explorer never invokes the GetUIObjectOf() with riid
for IContextMenu. But it is invoked in Windows XP. and the
IContextMenu "InvokeCommand" is called with open/explore verb

Is there anything changed in vista.

additional information
-------------------------
Also I found some other unknown interface iid's requested in
GetUIObjectOf() in vista.

The GetUIObjectOf called with the following riids

93f81976-6a0d-42c3-94dd-aa258a155470
c46ca590-3c3f-11d2-bee6-0000f805ca57
64961751-0835-43c0-8ffe-d57686530e64
48addd32-3ca5-4124-abe3-b5a72531b207

the "93f81976-6a0d-42c3-94dd-aa258a155470" called frequently. I
searched in Windows SDK 6.0. But I am not able to find any information
about that interface.

I can't able to find information about the above interface id's.

---
Regards
Prakahs

Gowda

unread,
Feb 6, 2007, 11:51:44 PM2/6/07
to
> Is there anything changed in vista.
>

Nothing has changed Vista. all the default Interfaces will work
normally as same as in XP, except few changes like Refresh(F5)
implementation. Refer the follwing discussion for Refresh(F5)
implementation.

http://groups.google.co.in/group/microsoft.public.platformsdk.shell/browse_thread/thread/b6d7df7172baab8e/a44c6633e68847ba?hl=en#a44c6633e68847ba

and for command module implementation you need to implement few new
interfaces like IExplorerCommandProvider, IExplorerPaneVisibility,
IFolderView2. for that refer the discussion "How to fill Command Bar
in vista" in this group.

I hope this helps.

Regards,
Gowda


prakash

unread,
Feb 6, 2007, 11:58:09 PM2/6/07
to
Thanks for your reply gowda

I missed one thing.

Normal context menu is working fine.The IContextMenu handler is
invoked correctly when I right click on the NSE item.

Regards
Prakash

On Feb 7, 9:51 am, "Gowda" <thotego...@gmail.com> wrote:
> > Is there anything changed in vista.
>
> Nothing has changed Vista. all the default Interfaces will work
> normally as same as in XP, except few changes like Refresh(F5)
> implementation. Refer the follwing discussion for Refresh(F5)
> implementation.
>

> http://groups.google.co.in/group/microsoft.public.platformsdk.shell/b...

prakash

unread,
Feb 9, 2007, 8:34:36 AM2/9/07
to
Dear Friends,

Finally I find a solution for the problem. Vista requires the folder
object to implement the IPersistFolder2 . It calls the
IPersistFolder2.GetCurFolder() method to get the current item's pidl.
If IPersistFolder2 is not implemented the vista shell will not ask
for IContextMenu in GetUIObjectOf().

After I implementing the IPersistFolder2 everything goes fine. But
explorer crashes sometimes unexpectedly. After implementing the
IPersistIDList that crash also gone

please see the last reply in the thread.
http://www.eggheadcafe.com/software/aspnet/29053132/re-a-problem-with-shelle.aspx

Windows XP does not require us to implement the IPersistFolder2/
IPersistIDList for the default navigation (double click) but Vista
requires.

Is that behavior correct?

Regards
Prakash

0 new messages