WinGDI Fill color
You need to select a brush.
Edited by - Spellbound on 3/4/00 4:11:11 PM
HDC DC;int Left, Top, Right, Bottom;BYTE Red, Green, Blue;// Create and select the brushHBRUSH Brush = CreateSolidBrush((Red<<16)/(Green<<8)/Blue);HBRUSH Old = SelectObject(DC, Brush);// Do some drawingEllipse(DC, Left, Top, Right, Bottom);// Restore old brush before deleting the previously created brushSelectObject(DC, Old);DeleteObject(Brush);
Edited by - Spellbound on 3/4/00 4:11:11 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement