Just use setwindowpos on it's own
I've got a little app I wrote that sits on the top of the screen (like a minimised win amp)
is what i use and it works fine.
I've got a little app I wrote that sits on the top of the screen (like a minimised win amp)
SetWindowPos(hwnd,-1,x,y,w,h,0)
is what i use and it works fine.