Article ID: 111584
Article Last Modified on 4/6/2004
#define xLeft (25)
#define yTop (25)
#define xRight (450)
#define yBottom (450)
#define xMiddle ((xLeft + xRight) / 2)
#define yMiddle ((yTop + yBottom) / 2)
{
HBRUSH hbrushRed, hbrushBlue, hbrushOld;
hbrushRed = CreateSolidBrush(RGB(255, 0, 0));
hbrushBlue = CreateSolidBrush(RGB(0, 0, 255));
hbrushOld = SelectObject(hdc, hbrushRed);
Pie(hdc, xLeft, yTop, xRight, yBottom, xRight, yMiddle, xRight, yTop);
SelectObject(hdc, hbrushBlue);
Pie(hdc, xLeft, yTop, xRight, yBottom, xRight, yTop, xMiddle, yTop);
SelectObject(hdc, hbrushOld);
DeleteObject(hbrushRed);
DeleteObject(hbrushBlue);
}
Additional query words: buglist3.00 buglist3.10 3.00 3.10
Keywords: KB111584