关于坐标转换

 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;

你可能感兴趣的:(关于坐标转换)