Re: [python-win32] MSHTML wrapper class and example using IWebBrowser2

2009-08-06 Thread Luke Kenneth Casson Leighton
would you believe it - XMLHttpRequest needs that third version, the one where you have to set up a VARIANT which contains a pointer to a COM object with an IDispatch interface :) ughhh. this is the one where, inside the Dispatch Invoke callback, the args received when the event (onreadystatechang

Re: [python-win32] MSHTML wrapper class and example using IWebBrowser2

2009-08-05 Thread Luke Kenneth Casson Leighton
searching around on the internet for code snippets to do event handling on MSHTML, e.g. HTMLElement insertEvent, i find ... nothing! everybody has been struggling literally since about 2000 when the idea of combining python and MSHTML first really took off. i just wanted to let people know, for th

Re: [python-win32] MSHTML wrapper class and example using IWebBrowser2

2009-08-03 Thread lkcl
as promised the mshtml.py "loader", _mshtml.py "wrapper" and the experiment ie_in_win.py have been committed here: http://pyjamas.svn.sourceforge.net/viewvc/pyjamas/trunk/pyjd/ -- View this message in context: http://www.nabble.com/MSHTML-wrapper-class-and-example-using-IWebBrowser2-tp24782740p

Re: [python-win32] MSHTML wrapper class and example using IWebBrowser2

2009-08-03 Thread Luke Kenneth Casson Leighton
On 8/3/09, Gerdus van Zyl wrote: > very nice! I was looking at pyjd a while back but didn't like the gtk > dependency. that's why i based mshtml.py on the Win32 GDI not gtk. > Any posibility on porting hulahop to windows? it's tricky as hell - it's a _whopping_ great build. you start with p

Re: [python-win32] MSHTML wrapper class and example using IWebBrowser2

2009-08-03 Thread Gerdus van Zyl
very nice! I was looking at pyjd a while back but didn't like the gtk dependency. Any posibility on porting hulahop to windows? ~Gerdus On Mon, Aug 3, 2009 at 12:22 AM, lkcl wrote: > > hi there, > > from about a dozen different sources i've managed to put together something > similar to the old c

[python-win32] MSHTML wrapper class and example using IWebBrowser2

2009-08-02 Thread lkcl
hi there, from about a dozen different sources i've managed to put together something similar to the old ctypes atl.py example. the purpose of the exercise is to create a port of pyjamas-desktop to MSHTML, and to do that, i need a GDK window in which an IWebBrowser2 COM object is the only object