Introduction - If you have any usage issues, please Google them yourself
// CDC::FillSolidRect is faster, but it does not handle 8-bit color depth
VERIFY(brush.CreateSolidBrush(
RGB(r+rStep*iOnBand, g+ gStep*iOnBand, b+ bStep* iOnBand)))
pDC->FillRect(&rectFill,&brush)
VERIFY(brush.DeleteObject())
if(rectFill.bottom > rect.bottom)