thanks

Re: How to change CEdit control's Font? by Jeff

Jeff
Mon Aug 18 08:27:14 CDT 2003

"willyfu" <fu.wei@263.net> wrote in message
news:OV8qOuYZDHA.384@TK2MSFTNGP12.phx.gbl...
> thanks

You need to SendMessage it a WM_SETFONT. The HFONT you pass needs to
remain valid as long as does the control. All the control is supposed to
do with it is store it for use in painting: not copy it or ever
DeleteObject it.
--
Jeff Partch [VC++ MVP]



Re: How to change CEdit control's Font? by Igor

Igor
Mon Aug 18 11:35:37 CDT 2003

"willyfu" <fu.wei@263.net> wrote in message
news:OV8qOuYZDHA.384@TK2MSFTNGP12.phx.gbl...
> How to change CEdit control's Font?

CWnd::SetFont
--
With best wishes,
Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken