![]() Microsoft Onenote Namespace ExtensionShell Namespace Extension inconsistencies in Windows Vista. Hello all ! I'm developing a Shell NSE for Windows 2. XP and Vista, and I've come across a strange problem. The interface IShell. EznamespaceextensionsFolder provides two functions, Create. View. Object and Get. For example I created a backup of the folder Example located at C. Create a shell namespace extension. at is inside a file not on windows. ![]() UIObject. Of. According to the documentation, the first function is used to obtain a IShell. View pointer to the view object that presents the items of the folder. It is, also, used to get other interfaces, such as IContext. Menu, IData. Object etc. The latter function is used to obtain similar interfaces for items contained within the folder. However, I've noticed that in Windows XP SP2, the Create. View. Object is not queried at all for IContext. Menu or IData. Object when it comes to the folder object. All these interfaces are queried through Get. UIObject. Of of the parent folder. In Windows Vista, the Create. View. Object of the folder object AND Get. UIObject. Of of its parent folder are both queried for the interfaces. This leads to an interesting problem: in Vista, all my context- sensitive menus have their new content added twice because both functions are called. In Windows XP, everything works fine, since only Get. UIObject. Of is used. Does anyone know why this happens, and is this functionality here to stay ? Additionally, since Create. View. Object is never called for the folder object itself in Windows XP, how can I dictate what my NSE's root object's context menu will show ? This menu just comes from somewhere, but I don't seem to have any say as to what it should contain, possibly because I cannot access the Get. UIObject. Of of the parent folder where my NSE is hosted. Any tips ? Greetings,Antti Keskinen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |