hi.
first of all sorry for my bad english.
im trying to change font of a CEdit Control using of Setfont() function but its not working for me here is my code:
void CCustomView::OnInitialUpdate(){
CView::OnInitialUpdate();
CFont font;
font.CreateFontW(14,0,0,0,500,0,0,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS
,DEFAULT_QUALITY,DEFAULT_PITCH|FF_SWISS,_T("Arial"));
CmyEdit* myEdit = new CmyEdit;
myEdit->Create( WS_CHILD|WS_VISIBLE,GetCurrentNodeRect(),this,1);
myEdit->SetFont( &font );
}
CCustom View is a CView subclass.
im so fresh in mfc.plz explain in details.
best regards