CEdit Font Color / Style 
Author Message
 CEdit Font Color / Style

How does one change the font color / style in a CEdit box?

Thanks

Chris



Tue, 29 Feb 2000 03:00:00 GMT  
 CEdit Font Color / Style

Quote:
>How does one change the font color / style in a CEdit box?

Chris,

Check out CWnd::OnCtlColor. There's quite a comprehensive article on
this subject in the C++ Q & A section of MSJ July 1996, it's also
available on the MSDN CD-ROM, and presumably on the MS web site.

If you want to change the actual font, have a look at Knowledge Base
article Q85518 "Correct Use of the SetFont() Function in MFC".

Dave
----
Address is altered to discourage junk mail.
Remove ".---" for the real address.



Thu, 02 Mar 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Changing font style in CEdit derived control.

2. how to set the color of font for a CEdit Control

3. CEdit for Colored font???

4. CEdit controls and changing the font color

5. CEdit font & color

6. RichEdit forcing Font- family size color style ?

7. Change font and color in CEdit end/or CStatic

8. Set CEdit font to COleControl Font

9. CEditView Background Color & Font Color :: MFC

10. Changing the style of a CEdit control

11. CEdit style in a CComboBox control

12. create a dynamic CEdit with a read only style

 

 
Powered by phpBB® Forum Software