다음을 통해 공유


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

Concepts

CWindow Class

CWindow Members

CWindow::ClientToScreen

POINT