[wxPython-users] Catching right-click event in wxIEHTMLWindow

Robin Dunn robin at alldunn.com
Mon Sep 4 10:49:08 PDT 2006


Ben Harling wrote:
> Hi,
>  
> does anyone have any idea how to intercept right-click events in an 
> IEHTMLwindow activex control. I have tried binding wx.EVT_RIGHT_DCLICK 
> on the iehtmlwindow, but that seems to be bypassed. Is the right click 
> thoroughly embedded in the activex control? or can it be changed inside 
> wxPython? Basically, I want to override the default IE popup window, and 
> stop it from being displayed.

IIUC the way the activex controls are implemented the IE control will 
get access to all the events, and it is only the ones that it gives to 
the container that are possible to be caught.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list