Re: XEMBED Implementation

2006-12-02 Thread Mike McCormack
Cloudor Pu wrote: 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? Only top level (managed)

Re: XEMBED Implementation

2006-12-02 Thread Cloudor Pu
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-ar

Re: oleaut32: add VarBstrCmp binary comparison for LCID==0

2006-12-02 Thread Charles Blacklock
On Fri, 2006-12-01 at 16:36 +0800, Dmitry Timoshkov wrote: > It would be much more effective to call SysStringByteLen only once for each > string instead of calling it again and again after a failing comparison. Cool, the attached patch does this now. Is this any better? Charles binYNKXALtcc

Re: One more go at fixing GetCursorPos()

2006-12-02 Thread Stefan Dösinger
Am Mittwoch 29 November 2006 19:51 schrieb Vitaliy Margolen: I gave your patch and test apps a try, and it seems to work fine here :-) > test_msg.c - tests major problem that Alexandre pointed out about last > fix attempt. Application in question does not process messages while > calling GetCurso

Re: make check_no_exec() work reliable

2006-12-02 Thread Peter Beutner
Alexandre Julliard wrote: > Peter Beutner <[EMAIL PROTECTED]> writes: > >> Why should this exception be visible to the application? >> Plus if you make it visible, you can just forget this whole workaround idea, >> because it won't work reliable anyways. > > Well, yes, the workaround is really a

Re: XEMBED Implementation

2006-12-02 Thread Roderick Colenbrander
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 d

XEMBED Implementation

2006-12-02 Thread Cloudor Pu
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