Re: Custum Edit Control Woes
As far as the multiple line support, I'm not sure what OutText() is. I would use DrawText() instead. More options, and multi-line support is built in (it can be turned off with one of the options)
Regards,
Paul McKenzie
Re: Custum Edit Control Woes
Why don't you just derive a class from CRichEditCtrl and add the functionality you need to that?
Rail
Recording Engineer/Software Developer
Rail Jon Rogut Software
[email protected]
http://home.earthlink.net/~railro/
Re: Custum Edit Control Woes
As I said, I need to structurize my data with a preset markup language, and I need it to store the information in the same markup language. This is not like HTML where you have <BOLD> and such, but you can more think of it as a HTML-page where you use only id's which reffer to stylesheet-defined styles. Thus richtext is not what I want.
Re: Custum Edit Control Woes
Thanks, I'll try using DrawText instead. I used outtext as I wanted to set fonts to my text, but I hope DrawText does the same.
However, do you know how I can append text to it when I've already written some text?? Do I need to recalculate the tagRECT? How can I recalculate this so that it will be aligned right with the rest of the text? And how should I make scrolling?
Sincerely yours
Niklas