Hi,
Thank you.
I just found an example that can embed any X window into gtk by calling gtk_socket_add_id(). And I can embed that IE window if I use xwininfo to get it's X11 window id.
Now, how can I get X11 window id by HWND in my program? I saw a patch GetX11WindowId at http://www.mail-archive.com/wine-devel@winehq.com/msg05282.html But this cannot be found in the latest wine. Can I get xwindow id by HWND without patching wine?
regards, cloudor
Roderick Colenbrander wrote:
Hi,
The XEMBED stuff in Wine is different than what you need. This code is inside wine's x11 driver and has the purpose of integrating the Wine system tray with KDE/Gnome. It is for internal wine usage and can't be used for your purpose.
You could search for the kde reaktivate project. It was designed for embedding windows activex controls through Wine in Konqueror. I'm not sure how they are embedding wine stuff, it might help.
Regards, Roderick
Hi,
I find discussion about XEMBED implementation in this mailing list and that was 3 years ago. Is there now any usable implementation or examples for wine XEMBED plug?
What I am doing is to embed IE into a GtkSocket. I wrote a standalone program compiled using winelib that can CreateWindow and embed IE. Can I CreateWindow using the XEMBED Id if there is already XEMBED implementation or can I just CreateWindow as a child of a GtkPlug which is a gtk-embeddee?
Any advices or suggestions would be highly appreciated. Thank you!
Regards, cloudor