Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Retrieves the x- and y-coordinates of the origin of the window associated with the device context.

CPoint GetWindowOrg( ) const;

The origin of the window (in logical coordinates) as a CPoint object.

Header: afxwin.h

© 2015 Microsoft