Bringing a VO window to the top

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
JohnBonnett88
Posts: 51
Joined: Mon Mar 07, 2022 12:34 am

Bringing a VO window to the top

Post 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
Post Reply