Поделиться через


CWindow::ScreenToClient

Converts screen coordinates to client coordinates.

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

Заметки

See ScreenToClient in the Windows SDK.

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

Требования

Header: atlwin.h

См. также

Основные понятия

CWindow Class

CWindow Members

CWindow::ClientToScreen

POINT