I'm trying to put together a little demo, and since MS' WebBrowser control
refuses to give me a pointer to the underlying MSHTML control to get access
to the current scroll position, I decided to use wxHtmlWindow.
Unfortunately, wxHtmlWindow doesn't seem to recognise the registration of
EVT_SCROLL.
class MyHtmlWindow(wxHtmlWindow):
def __init__(self, parent, id, log):
wxHtmlWindow.__init__(self, parent, id)
self.log = log
EVT_SCROLL( self, self.OnScroll )
def OnScroll( self, event ):
print 'event.GetOrientation()',event.GetOrientation()
print 'event.GetPosition()',event.GetPosition()
(Added into the wxHtmlWindow demo at the end of the __init__ for
MyHtmlWindow). There are no exceptions raised, the event just never arives
at the handler.
Thoughts appreciated,
Mike
···
__________________________________
Mike C. Fletcher
Designer, VR Plumber
http://members.home.com/mcfletch
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users