This method converts screen coordinates to client coordinates. The second version of this method allows you to convert the coordinates of a RECT structure.
BOOL ScreenToClient( LPPOINT lpPoint ) const;
BOOL ScreenToClient( LPRECT lpRect ) const;
Header file: | Atlwin.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
CWindow Overview, CWindow Methods, CWindow::ClientToScreen