Have a window stay on top all the time (Views: 29)
Problem/Question/Abstract: Have a window stay on top all the time Answer: The following code results in a window that stays on top all the time, even when the main application form is in the background: Minitool := TMinitool.Create(Self); Application.NormalizeTopMosts; SetWindowPos(Minitool.Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE + SWP_NOMOVE + SWP_NOSIZE); Minitool.Show; |