Thank you ,but these articles helps me to create a colored buttons, what i need is : How to change color of a button that i added to the FormView. and how do i change his color on runtime ( for example - when i push him i change his color )

i already tried :

CDC *pDC;
CButton *pButton1 = (CButton*) GetDlgItem(IDC_BUTTON1);
if ( pButton1 != NULL )
{
pDC = pButton1->GetDC();
pDC->SetBKColor(rgb(255,0,0);
}
GetDlgItem(IDC_BUTTON1)->RedrawWindow();

Why doesn't this work?
How do i paint a button ?