Taskbar hiding with fsSystemStayOnTop lazarus / 34-Windows ---------------------------------------------------------------------- caiov1n1c1us · 2024-03-31 21:24 Hi guys! I'm doing a kind of bar that needs to be always on top and always positioned in front of the taskbar. The property "fsSystemStayOnTop" works fine, but when I click on the taskbar (any part of it) the TForm goes behind the taskbar as you can see in the image below. Is there anyway to detect this behavior and bring back the Form/Bar to the top again? I tried "OnDeactivate" and "OnHide" and it didn't work. Thanks! ---------------------------------------------------------------------- flowCRANE · 2024-04-01 11:05 Try handling the WM_WINDOWPOSCHANGING message and bring the window to the top of all windows. The BringWindowToTop function should do the job.