2.6 Coordinate Functions

Coordinate functions convert client coordinates to screen coordinates (or vice versa), and determine the location of a specific point. These functions are useful in graphics-intensive applications. The following list briefly describes each coordinate function:

Function Description  
ChildWindowFromPoint Determines which child window contains a specified point.  
ClientToScreen Converts client coordinates into screen coordinates.  
DPtoLP Converts device points (that is, points relative to the window origin) into logical points.  
LPtoDP Converts logical points into device points.  
ScreenToClient Converts screen coordinates into client coordinates.  
WindowFromPoint Determines which window contains a specified point.