[python-win32] Explorer like right mouse click context menue

Tim Golden tim.golden at viacom-outdoor.co.uk
Thu Jun 3 03:41:35 EDT 2004


| I want to enhance my little wxpython-filemanager with
| a shell context menu.
| 
| Can anybody please advise, how and/or if it is possible
| to add to a given File (Win XP) an explorer file context menue?

Bit of a two-part response, really.

First, it *is* possible, as of recent versions of pywin32, to
add shell context menus. It's a bit messy, but there are some
examples somewhere in the pywin32 distribution, although for
the life of me I can't remember where.

Secondly, I had a quick look at wxpyatol and it looks to me
rather as though you just want to trap right-click events on
your file windows, which is different from going to the lengths
of telling the operating system to ask you code for extra menus
whenever you right click on something in an explorer window.
Have I misunderstood? Or are you really just asking: how do I
manage right-click menus under a wxPython Frame?

TJG


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-win32 mailing list