Thanks a lot! But i already tried that, the Winamp window doesn't move, it just blinks in my task bar.
I don't know the the height and with of Winamp, so i just gave 0 or 50 or something, but Winamp doesn't resize either (don't need that though).
Is it because i don't know the right size that nothing happens, or what?
Hope you can help me, btw have you tried this yourself?
I've got some extra info:
The return value is 1 (that indicates that is worked), and indeed I see the window appearing in the place a want it to be (I only see the top left cornor appear). But that's just for a couple of milliseconds, then the entire window is back where it was.
So it's like the window is moved and then instantly moved back where it was!
Here's the code i'm using:
SetWindowPos hWndWinAMP, 0, 40, 50, 0, 0, SWP_NOZORDER
(the 40 and 50 can be any values, that doesn't matter right now)
Last edited by pi8; 17th April 2002 at 13:03.