در ویژوال سی 2005 (به نظر من ) هیچ optionی برای تغییر متن و یا فونت یک edit control وجود نداره برای تغییر رنگ وفونت در این شئ و اشیا مشابه مثل static text باید چیکار کرد ؟

باید بگم که یک سری کد در codeproject پیدا کردم که خیلی جالب جواب دادن:
برای تغییر فونت :
 

BOOL CMyDlg::OnInitDialog()
{
CFont myfont;
CStatic* pStatic = GetDlgItem ( IDC_SOME_LABEL );
// ... create a font here using the 'myfont' object ...
// Change the static control's font.
pStatic->SetFont ( &myfont );
return TRUE;
}



برای تغییر رنگ پس زمینه یک کنترل :
در ابتدای برنامه یک متغیر CBrush به نام m_bkbrush تعریف شود.
 

HBRUSH CsdDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
// TODO: Change any attributes of the DC here

if ( pWnd->GetSafeHwnd() == GetDlgItem(IDC_STATIC)->GetSafeHwnd() &&
CTLCOLOR_STATIC == nCtlColor )
{
// m_bkbrush is a CBrush member variable
m_bkbrush.CreateSolidBrush ( RGB(230,0,20) );
pDC->SetBkMode ( TRANSPARENT );
return m_bkbrush;
}
// TODO: Return a different brush if the default is not desired
return hbr;


}
که رنگ static text رو تغییر میده .
اگه ممکنه برای تغییر رنگ فونت کمک کنید . . .