[pywin32-bugs] [ pywin32-Bugs-3237838 ] cannot insert multi menu item into shell context menu
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-03-23 15:14:58
|
Bugs item #3237838, was opened at 2011-03-23 23:14 Message generated for change (Tracker Item Submitted) made by winterttr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3237838&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: winterTTr (winterttr) Assigned to: Nobody/Anonymous (nobody) Summary: cannot insert multi menu item into shell context menu Initial Comment: I am trying to use pywin32 com to develop a shell extension which will add the menu item to shell context menu. I do a lot test using win32gui.InsertMenu, but i can not add more than one item to the context menu, I can just add one menu item, the following call to InsertMenu seem to be no effect. I tried use the context_menu.py under "C:\Python27\Lib\site-packages\win32comext\shell\demos\servers", and add one line like below: 39 items = [] 40 items.append("balabala...") But the result is that, only "balabala..." can be insert into the context menu, so the demo file also fail on my machine. I think this maybe a problem of pywin32, so I report it and hope you to check. Environment: windows 7 x86-32bit + python27 + pywin32-216.win32-py2.7.exe ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3237838&group_id=78018 |