Whenever the app receives WM_MOUSEMOVE, and the user is holding down the title area of my app, I move the position of the window.
It works ... BUT the window shakes, this is because whenever you manually move the window, it calls the WM_MOVEMOUSE again, causing the window to process double code and move twice in one mouse movement.
I guess you could implement a bool variable to tell the MOUSEMOVE message when it is ok to actually move the window. Maybe make it so it only moves the window every second time.
Anyone know of a better way to do it?