I'm very confus Re: EditBox Control and font size, color, etc...



Hello boris,


I don't know what to do with all that. Actually I'm working under VC++, and

I have a dialogBox in which i want to change the font size and color of on

Edit Box (CEdit) suppose IDC_EDIT1. I don't know how to put all this stuff

together to obtain what I want.. Can you give me some clue.


Demo


"Boris Karadjov" <bbmvp@cpppp.virtualave.net> wrote:

>To change the font size and face, use CWnd::SetFont (MFC) or WM_SETFONT

>(Win32 API).

>To change the color, override OnCtlColor(..., CTLCOLOR_EDIT) in your dialog

>class to use CDC::SetTextColor (MFC) or handle WM_CTCOLOREDIT message and

>call ::SetTextColor function (Win32 API).

>--

>Boris Karadjov

>Brainbench MVP for Visual C++

>http://www.brainbench.com

>

>"Demo" <denis@cybercat.qc.ca> wrote in message

>news:3b32bd09$1@news.devx.com...

>>

>> hello everybody,

>>

>> I'm looking for a way to change the font size, color, etc... of one

>editBox

>> in my dialog windows. I'm pretty sure I can do this, but how????

>>

>>

>> Is somebody can help me...

>>

>> Demo

>

>



EditBox Control and font size_vc++