Font changing
-
I often wish that I had already gone over the hurdle of learning the methodology for adding the ability to change fonts, and display in multiple fonts, in such MFC things as edit and list boxes. Of course it would be nice if such detail were part of MFC. I have looked at the examples of CStatic drived classes that implement font and color choices but have not as yet attempted to move these examples' changes into the other controls. Does anyone know of a multi-line edit or a list box that implements multi-font display? Or is there a good tutorial on how to go there myself? Lee Middleton
-
I often wish that I had already gone over the hurdle of learning the methodology for adding the ability to change fonts, and display in multiple fonts, in such MFC things as edit and list boxes. Of course it would be nice if such detail were part of MFC. I have looked at the examples of CStatic drived classes that implement font and color choices but have not as yet attempted to move these examples' changes into the other controls. Does anyone know of a multi-line edit or a list box that implements multi-font display? Or is there a good tutorial on how to go there myself? Lee Middleton
Although code-related questions should be posted in the proper forums (!= the Lounge); Find information on CRichEditCtrl in the MSDN library (for a multi-line editbox). G'luck -- Alex Marbus www.marbus.net But then again, I could be wrong.