Original Post
Hello I have an app in which I have projected some (3d pengl) stuff, e.g. a cube which the user can drag(/translate) around with the mouse. so on WM_MOUSEMOVE I call ToMouse(M) (when the buttoon is also pressed) which translates the selection to the mousecoordinates M. The 'problem' is that it takes some time to translate,re-render and re-print some info, so when continously dragging the cube around its constantly 'left' behind' the cursor a small bit, depending on how fast you move the mouse, and it 'catches up' with when it holds still. (like a trail) Now im not sure what to do here. I cant block the mouse from moving on those cases, it becomes shocky. Should I not do it on every WM_MOUSMOVE ? how the determine which then ?? to be clear, I want the point on the cube that is clicked the first time, to always be exactly under the mouse while dragging, fixing the two toghether, giving a real solid dragging apearance. I can see that the coordinates M can differ from ones that I get later in the ToMouse function re-calling GetCursorPos. thanx