有没有关于运动轨迹回放的编程方法,请教。

解决方案 »

  1.   

    记录MW_MOVEMENT的每个坐标点
    或使用GetMouseMovePointsEx Function--------------------------------------------------------------------------------The GetMouseMovePointsEx function retrieves a history of up to 64 previous coordinates of the mouse or pen.Syntaxint GetMouseMovePointsEx(          UINT cbSize,
        LPMOUSEMOVEPOINT lppt,
        LPMOUSEMOVEPOINT lpptBuf,
        int nBufPoints,
        DWORD resolution
    );