是我的问题,两次复制的不是一个版本……,不过你随便改改就可以了啊。 RECT rc;
rc.left = (int)rectGauge.X;
rc.top = (int)rectGauge.Y;
rc.right = rc.left + (int)rectGauge.Width;
rc.bottom = rc.top + (int)rectGauge.Height;
InvalidateRect(hWnd, &rc, FALSE);
改成
InvalidateRect(hWnd, NULL, TRUE); 本来这段代码是我修改后防止屏幕闪烁的。
rc.left = (int)rectGauge.X;
rc.top = (int)rectGauge.Y;
rc.right = rc.left + (int)rectGauge.Width;
rc.bottom = rc.top + (int)rectGauge.Height;
InvalidateRect(hWnd, &rc, FALSE);
改成
InvalidateRect(hWnd, NULL, TRUE); 本来这段代码是我修改后防止屏幕闪烁的。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货