Hello Luca,

Wednesday, January 28, 2009, 9:42:18 PM, you wrote:

LO> Maybe I'll just have to remove the calls to "RemoveStayOnTopFlags" in
LO> win32callback.inc and see what happens.

Look for the lines attached, more or less as my snapshot is one month
old and comment such lines as in the file.

Affected file is win32callback.inc

Now you must control the StayOnTop using the HWND_TOPMOST and the
setwindowlong.

-- 
Best regards,
 JoshyFun
---- D:\lazarusSVN\lcl\interfaces\win32\win32callback.inc
[1219] //JF          RestoreStayOnTopFlags(Window);
[1226] //JF          RemoveStayOnTopFlags(Window);
[1229] //JF          TargetWindow := 
GetNextWindow(TWin32WidgetSet(WidgetSet).AppHandle, GW_HWNDNEXT);
[1230] //JF          if TargetWindow = 0 then
[1231] //JF            TargetWindow := HWND_BOTTOM;
[1232] //JF          Windows.SetWindowPos(TWin32WidgetSet(WidgetSet).AppHandle, 
TargetWindow,
[1233] //JF            0, 0, 0, 0, SWP_NOMOVE or SWP_NOSIZE or SWP_NOACTIVATE);
[1549] //JF          RemoveStayOnTopFlags(Window);
[1554] //JF          RestoreStayOnTopFlags(Window);

  9 lines in      1 file
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to