Have you locked the mouse position to the cursor? Do this in the main function/while loop.
Code:
while (1)
  {  
    mouse_pos.x = mouse_cursor.x;    
    mouse_pos.y = mouse_cursor.y;
    wait(1);
  }



Last edited by DJBMASTER; 06/08/10 18:11.