PATCH: SetParent optimization

Alexandre Julliard julliard at winehq.com
Mon Jul 22 13:18:56 CDT 2002


Marcus Meissner <meissner at 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 at winehq.com



More information about the wine-devel mailing list