This method converts the screen coordinates of a specified point or rectangle on the display to client coordinates.
| Header file: | Afxwin.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
void ScreenToClient( LPPOINT lpPoint ) const;
void ScreenToClient( LPRECT lpRect ) const;