CWindow::ScreenToClient

Converts screen coordinates to client coordinates.

BOOL ScreenToClient( 
   LPPOINT lpPoint  
) const throw(); 
BOOL ScreenToClient( 
   LPRECT lpRect  
) const throw();

Remarks

See ScreenToClient in the Windows SDK.

The second version of this method allows you to convert the coordinates of a RECT structure.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::ClientToScreen

POINT