Thank you Ryan, - the buttons DO HAVE these IDs : it is harcoded in CPropertySheet. - The good solution is CButton* pButton = (CButton*) this->GetDlgItem(IDCANCEL); if(pButton) { pButton->ModifyStyle(0,BS_FLAT);} - see thread microsoft.public.vc.mfc "Desperately trying to get flat buttons in a CPropertySheet" dated 07/02/2006 16:32 Thank you again pierre Pierre Couderc www.tol.fr