请教高手怎么用delphi写的坐标转换的代码啊?谢谢

解决方案 »

  1.   

    ScreenToClient
    ClientToScreen是说这个吗?
      

  2.   

    逻辑坐标转设备坐标
    BOOL LPtoDP(    HDC hdc, // handle of device context  
        LPPOINT lpPoints, // array of points 
        int nCount  // count of points 
       );
    设备坐标转逻辑坐标:
    BOOL DPtoLP(     HDC hdc, // handle to device context 
        LPPOINT lpPoints, // pointer to array of points  
        int nCount  // count of points 
       );