Re: [python-win32] Context menu for library

2012-11-16 Thread Roger Upole
You should be able to get the context menu by creating a shell item for the library file (using eg shell.SHCreateShellItem), and then call BindToHandler using BHID_SFUIObject and IID_IContextMenu. That should result in an IContextMenu object, from which you can fill in a menu handle using QueryCont

[python-win32] Context menu for library

2012-11-16 Thread Nitin_Kumar3
Hi, I want to fetch all the context menus for Windows 7 Libraries (Documents,Music,Pictures...). As for these libraries we can't find any registry as we have shellex entry for files and folders. Can anyone please let me know how can we can get context menu items using python? Thanks Nitin K [