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
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
[