Marcus Meissner meissner@suse.de writes:
Lotus Notes R5 5.0.10 has a Details Popup Window which stays over the normal Lotus window usually.
If it is started and the focus leaves this window, Lotus reparents to the toplevel window, using "SetWindowLong(hwnd, GWL_HWNDPARENT, toplevelhwnd);" and later does "BringWindowToTop(toplevelhwnd);".
Probably SetWindowLong(GWL_HWNDPARENT) should not do a full SetParent, but just set the window owner. Looks like this needs more testing under Windows to find out exactly what it's supposed to do.
Lets test this patch. I think thats why Lotus Notes during installation wont work. when I run setup.exe, I see the background but the other window isnt not shown [probably because its in the background] ----- Original Message ----- From: "Alexandre Julliard" julliard@winehq.com To: "Marcus Meissner" meissner@suse.de Cc: wine-devel@winehq.com Sent: Monday, July 22, 2002 1:18 PM Subject: Re: PATCH: SetParent optimization
Marcus Meissner meissner@suse.de writes:
Lotus Notes R5 5.0.10 has a Details Popup Window which stays over the normal Lotus window usually.
If it is started and the focus leaves this window, Lotus reparents to the toplevel window, using "SetWindowLong(hwnd, GWL_HWNDPARENT, toplevelhwnd);" and later does "BringWindowToTop(toplevelhwnd);".
Probably SetWindowLong(GWL_HWNDPARENT) should not do a full SetParent, but just set the window owner. Looks like this needs more testing under Windows to find out exactly what it's supposed to do.
-- Alexandre Julliard julliard@winehq.com