xsharp.eu • Bringing a VO window to the top - Page 2
Page 2 of 2

Bringing a VO window to the top

Posted: Fri Dec 09, 2022 2:08 am
by JohnBonnett88
Just one follow-up to what I wrote before. I found that changing that SetWindowPos in the timer routine to
SetWindowPos(SELF:Handle(), HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW )
gave a better user experience.
That is change in the window position from HWND_TOP to HWND_NOTOPMOST.
The result is the window comes to the top when you want, but does not hog the top position, and the user can change window positions easily as they want.

Cheers,
John