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)
Packet : 89346474liaozhigan0873.rar filelist
readme.txt
Create_Popup_menus_in_MFC_with_a_gradient_and_text_on_the_left_side_(89KB)\GradientMenuDemo.zip
Create_Popup_menus_in_MFC_with_a_gradient_and_text_on_the_left_side_(89KB)\GradientMenuSrc.zip
Create_Popup_menus_in_MFC_with_a_gradient_and_text_on_the_left_side_(89KB)