我想在鼠标指针下边画一个半透明的圆,鼠标位置通过ci得到了 可是没有画出来 为什么呢(hMemDc没有问题,鼠标本身就被画进去了)
int x0=ci.ptScreenPos.x - ii.xHotspot-40;
int y0=ci.ptScreenPos.y-ii.yHotspot-40;
int x1=ci.ptScreenPos.x - ii.xHotspot+40;
   int y1=ci.ptScreenPos.y-ii.yHotspot+40;
int rheight=y1-y0;
int rwide=x1-x0;
 Rect myrect(x0,y0,rwide,rheight);
LinearGradientBrush myLinearGradientBrush(  myrect,   Color(255, 0, 0, 255),   Color(255, 0, 255, 0),   LinearGradientModeHorizontal);Graphics mygraphics(hMemDC); mygraphics.FillEllipse(&myLinearGradientBrush,x0,y0,rwide,rheight);