WineLib child Window to X11 Window

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Displacer
Newbie
Newbie
Posts: 2
Joined: Fri Jun 13, 2008 4:21 am

WineLib child Window to X11 Window

Post by Displacer »

Is there a way to create child winapi window to x11 window with winelib? I need it to port a piece of window application to linux. I need a HWND equivalent of X11 Window handle to pass it to CreateWindow as parent.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: WineLib child Window to X11 Window

Post by vitamin »

Displacer wrote:Is there a way to create child winapi window to x11 window with winelib? I need it to port a piece of window application to linux. I need a HWND equivalent of X11 Window handle to pass it to CreateWindow as parent.
No it won't work that way. You need to use the standard X11 techniques for this. Such as XEmbed. You should be able to find more information if you look for different plugins running under Wine. There are sever projects that use Wine for such things.
Displacer
Newbie
Newbie
Posts: 2
Joined: Fri Jun 13, 2008 4:21 am

Post by Displacer »

Could you provide some links to such projects? Ill look at XEmbed, but existing decisions would be nice too.
Locked