开发者

Making a multicolored TextBox?

开发者 https://www.devze.com 2023-02-04 20:10 出处:网络
I noticed that Windows\'s RichTextBox supports making the selected text any color. I\'m trying to get a better understanding of how it might be doing this at a low level. Could it be storing each char

I noticed that Windows's RichTextBox supports making the selected text any color. I'm trying to get a better understanding of how it might be doing this at a low level. Could it be storing each char's c开发者_如何学JAVAolor, or might there be a better way (since removal and random insertion must be considered.

Thanks


It stores the text in the RTF format.

0

精彩评论

暂无评论...
验证码 换一张
取 消