关于坐标转换

    技术2022-05-11  53

     ScreenToClient();

    ClientToScreen();

    Converts the client coordinates of a given

     point or rectangle on the display to screen coordinates.

    void ClientToScreen( LPPOINT lpPoint ) const; void ClientToScreen( LPRECT lpRect ) const;

    Converts the screen coordinates of a given

    point or rectangle on the display to client coordinates.

    void ScreenToClient( LPPOINT lpPoint ) const; void ScreenToClient( LPRECT lpRect ) const;

    最新回复(0)