K
Kelvin
I am writing a protocol analyser which adds each message as it comes
in to a RichTextBox. I want to be able to highlight some elements in
colour. Using select and then SelectionColor is too slow so I was
thinking of trying to add the signals as RTF with relevant colour tags
embedded. However I'm having problems concatenating the RTF. Added
first signal is fine, but second one doesn't appear. Tried doing Rtf
+= newString and SelectionStart = int::MaxValue-1; SelectedRtf =
newString but neither works. It could be a problem with the format of
my newString, not sure.
Anyone got anything like this to work?
Using .NET 2.0, C++/CLI.
TIA,
KK
in to a RichTextBox. I want to be able to highlight some elements in
colour. Using select and then SelectionColor is too slow so I was
thinking of trying to add the signals as RTF with relevant colour tags
embedded. However I'm having problems concatenating the RTF. Added
first signal is fine, but second one doesn't appear. Tried doing Rtf
+= newString and SelectionStart = int::MaxValue-1; SelectedRtf =
newString but neither works. It could be a problem with the format of
my newString, not sure.
Anyone got anything like this to work?
Using .NET 2.0, C++/CLI.
TIA,
KK