CPoint::operator !=

BOOLoperator!=(POINTpoint**)const;**

Return Value

Nonzero if the points are not equal; otherwise 0.

Parameters

point

Contains a POINT structure or CPoint object.

Remarks

Checks for inequality between two points.

Example

CPoint ptFirst(256, 128);
CPoint ptTest(111, 333);

ASSERT(ptFirst != ptTest);

// works with POINTs, too

POINT pt;
pt.x = 333;
pt.y = 111;

ASSERT(ptTest != pt);

// note that pt != ptTest isn't correct!

CPoint OverviewClass MembersHierarchy Chart

See Also   CPoint::Operator ==