[Gtk-sharp-list] Gdk.Window.ForeignNew

Phillip Dyer p85dyer at gmail.com
Fri Feb 2 20:28:07 EST 2007


Hi,

    I'm trying to find a way to wrap an IE window, in a gtk.DrawingArea. 
I've found a way to do it on a pygtk mailing list. 
http://www.daa.com.au/pipermail/pygtk/2005-June/010461.html , however 
I'm a little lost on how to implement something like this under GTK#.

    I'm particularly confused by this:

 	# Get the IWebBrowser2 interface for the IE control.
        pBrowserUnk = POINTER(IUnknown)()
        atl.AtlAxGetControl(self.atlAxWinHwnd, byref(pBrowserUnk))
        self.pBrowser = POINTER(IWebBrowser2)()
        pBrowserUnk.QueryInterface(byref(IWebBrowser2._iid_),
                                   byref(self.pBrowser))


    Any help would be greatly appreciated.

Thanks,
-Phil


More information about the Gtk-sharp-list mailing list