CPoint::CPoint

CPoint( );

CPoint( int initX, int initY );

CPoint( POINT initPt );

CPoint( SIZE initSize );

CPoint( DWORD dwPoint );

Parameters

initX

Specifies the value of the x member of CPoint.

initY

Specifies the value of the y member of CPoint.

initPt

POINT structure or CPoint that specifies the values used to initialize CPoint.

initSize

 SIZE structure or CSize that specifies the values used to initialize CPoint.

dwPoint

Sets the x member to the low-order word of dwPoint and the y member to the high-order word of dwPoint.

Remarks

Constructs a CPoint object. If no arguments are given, x and y members are not initialized.

CPoint OverviewClass MembersHierarchy Chart