다음을 통해 공유


CDC::GetWindowOrg

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

CPoint GetWindowOrg( ) const;

Return Value

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

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::GetViewportOrg

CDC::SetWindowOrg

CPoint Class