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.