Sebastian Lackner <sebast...@fds-team.de> writes: > - when "virtually" reparenting the plugin window as a child of a > "foreign" window (similar to the systray code) its not possible to get > the focus anymore - the focus code always tries to request the focus for > the WS_POPUP parent, which is a foreign window in this case, and thus > fails. I don't see an easy way to detect/handle if a window is embedded > from user32-code without changing a lot of stuff there - thats why > Pipelight creates the plugin window as a WS_POPUP and makes wine think > it doesn't have any parent (which only has the disadvantage that wine > cannot track the correct window position).
I think you really should make it work like the systray and keep track of the hierarchy. You'll run into a lot of hard to fix bugs otherwise. -- Alexandre Julliard julli...@winehq.org