我无法找到一种方法来处理类似于此示例的案例。我引用他的知识! 我每个月收到新鲜事,从A到E的信件,我需要在每个客户的大写字母中写0。因此,如果我只收到B,那么B = 0,如果我收到A和B然后A = 1而B = 0,如果我收到A,B,C然后A = 1,B = 1且C = 0,如果我接收A和C,然后A = 1,C = 0,由客户分组。
{{1}}
答案 0 :(得分:1)
BOOL bb;
POINT pp;
GetCursorPos(&pp);
HRESULT hr;
_Point2D_ p = Point2D(pp.x, pp.y);
_LiveGeometry_ lpth = pth;
BeginDraw();
ClearScreen();
DrawFillGeometry(Lelp1, Yellow);
hr = Ellipse->FillContainsPoint(p, IdenMatrix, 0.0f, &bb);
if (bb >= 0)
DrawEllipse(CreateEllipse(Point2D(50, 50), 50, 50), Blue, 5);
else
DrawEllipse(CreateEllipse(Point2D(250, 50), 50, 50), Red, 5);
return EndDraw();