mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 00:40:22 +02:00
LCL-Win32: Keep TTrayIcon helper window hidden. Issue #41279, patch by Red_prig (Pavel).
This commit is contained in:
parent
1c2d94fa8c
commit
28578a1e6a
@ -948,7 +948,8 @@ var
|
||||
begin
|
||||
Owner := GetWindow(Handle, GW_OWNER);
|
||||
if (Owner <> 0) and (Owner <> PPopupOwnersWindowInfo(Param)^.AppHandle) then
|
||||
PPopupOwnersWindowInfo(Param)^.OwnersList.Add(Pointer(Owner));
|
||||
if (Windows.GetWindowLong(Owner,GWL_STYLE) and WS_VISIBLE<>0) then
|
||||
PPopupOwnersWindowInfo(Param)^.OwnersList.Add(Pointer(Owner));
|
||||
Result := True;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user