Partager via


CDC::GetCurrentPosition

Retrieves the current position (in logical coordinates).

CPoint GetCurrentPosition( ) const;

Return Value

The current position as a CPoint object.

Remarks

The current position can be set with the MoveTo member function.

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::MoveTo

CPoint Class