Page 1 of 1

Sit window on bottom

Posted: Mon Oct 04, 2004 11:42 pm
by Rebe
I want the window to be under everything so it is never on top .
How would I do that with code ?

Re: Sit window on bottom

Posted: Tue Oct 05, 2004 12:02 am
by PB
Add this after your window's creation, and your window will be "stuck" to the
Desktop, meaning that every other window will always cover it. Think of this
as an "always on bottom" setting for your window. ;)

Code: Select all

SetParent_(WindowID(),FindWindow_(0,"Program Manager"))
And for the record, here's how you set a window to be "always on top":

Code: Select all

SetWindowPos_(WindowID(),#HWND_TOPMOST,0,0,0,0,#SWP_NOMOVE|#SWP_NOSIZE)

Posted: Tue Oct 05, 2004 12:03 am
by Rebe
Just what I needed .. thank you kind Sir .