I noticed that all I have to do is hover the mouse over an object in my program, and the object moves to where I am hovering. However, it is only supposed to move If I click on it.
Problem with mouse on desktop
On the desktop you have to check for WM_LBUTTONDOWN event and WM_LBUTTONUP. No choice.