BOOL operator ==( POINT point ) const;
Return Value
Nonzero if the points are equal; otherwise 0.
Parameters
point
Contains a POINT structure or CPoint object.
Remarks
Checks for equality between two points.
Example
CPoint ptFirst(256, 128);
CPoint ptTest(256, 128);
ASSERT(ptFirst == ptTest);
// works with POINTs, too
POINT pt;
pt.x = 256;
pt.y = 128;
ASSERT(ptTest == pt);
// note that pt == ptTest isn't correct!
CPoint Overview | Class Members | Hierarchy Chart
See Also CPoint::Operator !=