how do you keep a window ontop on the desktop?

Community Forums/General Help/how do you keep a window ontop on the desktop?

Mainsworthy(Posted 2017) [#1]
how do you keep a window ontop on the desktop? Is there a setting or something, I cant find anything on it?


grable(Posted 2017) [#2]
This should do it.
SetWindowPos( hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE)



Mainsworthy(Posted 2017) [#3]
Yes it did, I found the exact same code, but I also had a queryGadget prior aswell, thanks