CDC::GetWindowOrg 

CPoint GetWindowOrg( ) const;

Return Value

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

Remarks

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

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::GetViewportOrg, CDC::SetWindowOrg, CPoint