Hi, try using SetWindowPos() instead of MoveWindow().

SetWindowPos(NULL, newX, newY, 0, 0, SWP_NOSIZE|SWP_NOZORDER);

Using the flags SWP_NOSIZE|SWP_NOZORDER, the window just will move.

Fabian