|
-
Sep 21st, 2010, 06:31 PM
#1
Thread Starter
Junior Member
ListBox or ListView with syntax highlighting
Hello,
I was wondering if there is a way to implement syntax high lighting in a ListBox or ListView. I know this is possible with a Rich Text Box, but I would like to insert this feature into a ListView or ListBox. Is there any way to insert rich text font (RTF) into one of those controls?
Thank you.
-
Sep 21st, 2010, 07:00 PM
#2
Re: ListBox or ListView with syntax highlighting
Some clarification. No such thing really as a RTF font. Highlighting is done in RTF controls via tags by the user (or via control properties) and background drawing by the control. Listbox backcolor can be changed for the entire list, not a portion of text or a single list item (without subclassing). ListViews are pretty much the same thing, but individual items can be back colored though it applies to the entire item/subitem. In short, no easy solution and any solution would probably be difficult at the very least.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|