共用方式為


CWindow::ClientToScreen

Converts client coordinates to screen coordinates.

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

Remarks

See ClientToScreen 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

Reference

CWindow Class

CWindow::ScreenToClient

POINT

Other Resources

CWindow Members