Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I don´t know change font in field CEdit of CFormView

Status
Not open for further replies.

vvaldes

Programmer
Sep 25, 2001
9
0
0
ES
I don´t know change font in field CEdit of CFormView

thanks.

 
Add a member CFont m_font; in your formview class then
in your OnInitDialog of your formview add:(assume the id of your edit control is IDC_EDIT1)


m_font.CreatePointFont(180,"Courier New",NULL);
GetDlgItem(IDC_EDIT1)->SetFont(&m_font);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top