[python-win32] Simple context-menu question.

Tim Roberts timr at probo.com
Tue Nov 25 20:13:36 CET 2008


Mike Driscoll wrote:
> Tim Roberts wrote:
>> Joel Bryan Juliano wrote:
>>  
>>>
>>> My question is how can I get the current names of the "MenuName >
>>> SubMenuName > SubItemName" when InvokeCommand is called? 
>>
>> I would also caution you that it is not good practice to create deeply
>> nested context menus.  It makes for a very confusing user experience.   
>
> And if you "really" need to know the names in the menus then you
> should just design your own using a Python GUI toolkit, like Tkinter
> or wxPython.

Well, he's working on a shell extension plugin here.  The message loop
belongs to Windows Explorer, and events are delivered through COM server
callbacks.  I'm not convinced it can be mated to either wx or Tkinter.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list