mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-08 21:06:07 +02:00
lcl: fixed snapping not allocating handles
This commit is contained in:
parent
7ab02f5d95
commit
d0fe51fd03
@ -204,7 +204,7 @@ begin
|
|||||||
frm:= Screen.CustomForms[fi];
|
frm:= Screen.CustomForms[fi];
|
||||||
if not frm.Visible then continue;
|
if not frm.Visible then continue;
|
||||||
if frm.WindowState=wsMinimized then continue;
|
if frm.WindowState=wsMinimized then continue;
|
||||||
if frm.HandleAllocated then continue;
|
if not frm.HandleAllocated then continue;
|
||||||
if frm.Handle = WindowPos.hwnd then continue;
|
if frm.Handle = WindowPos.hwnd then continue;
|
||||||
if not frm.SnapOptions.SnapFormTarget then continue;
|
if not frm.SnapOptions.SnapFormTarget then continue;
|
||||||
if GetWindowRect(frm.Handle, br) = 0 then continue;
|
if GetWindowRect(frm.Handle, br) = 0 then continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user