mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 03:00:20 +02:00
LCL-Win32: Keep TTrayIcon helper window hidden. Issue #41279, patch by Red_prig (Pavel).
(cherry picked from commit 28578a1e6a
)
This commit is contained in:
parent
38930b91d5
commit
2d37241eff
@ -937,7 +937,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