O.P. [Help] Always on top window
Hi clever scripters,
Got a little problem. I have a window which I want to dock to either the top or bottom of the screen, like the start menu. I can make the window stay on top of other windows with
var result = Interop.Call("User32.dll", "SetWindowPos", mawindae.Handle, -1, 0, 800, 1440, 25, 3);
but this doesn't resize windows around it, if you see what I mean. So if the window was at the top of the screen, it'd hide the title frame of windows below it, and if my window was at the bottom, it would hide the status bars of lower windows.
Any way to do this?
|