CWindow::ScreenToClient

BOOL ScreenToClient( LPPOINT lpPoint ) const;

BOOL ScreenToClient( LPRECT lpRect ) const;

See ScreenToClient in the Win32 SDK.

Remarks

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

CWindow OverviewClass Members

See Also   CWindow::ClientToScreen, POINT