Click here to Skip to main content
15,911,306 members
Home / Discussions / C#
   

C#

 
GeneralRe: double clicking an item in a listBox Pin
User 9625789-Apr-04 8:50
User 9625789-Apr-04 8:50 
GeneralRe: double clicking an item in a listBox Pin
Heath Stewart9-Apr-04 8:58
protectorHeath Stewart9-Apr-04 8:58 
GeneralRe: double clicking an item in a listBox Pin
User 9625789-Apr-04 8:44
User 9625789-Apr-04 8:44 
GeneralRe: double clicking an item in a listBox Pin
Nick Parker9-Apr-04 11:41
protectorNick Parker9-Apr-04 11:41 
Generalrefreshing listview content Pin
Paolo Ponzano9-Apr-04 7:35
Paolo Ponzano9-Apr-04 7:35 
GeneralRe: refreshing listview content Pin
Heath Stewart9-Apr-04 7:54
protectorHeath Stewart9-Apr-04 7:54 
GeneralRe: refreshing listview content Pin
Paolo Ponzano9-Apr-04 19:45
Paolo Ponzano9-Apr-04 19:45 
GeneralDrawing RichText on a GDI+ surface Pin
Judah Gabriel Himango9-Apr-04 7:27
sponsorJudah Gabriel Himango9-Apr-04 7:27 
I have a custom control that displays thousands of items. Each item is NOT a System.Windows.Control; each item is instead a simple light weight class with properties (such as .Text, .ImageIndex, etc.) used by the custom control to draw each item (i.e. the custom control draws all the items).

Here's my problem: I would like each item to display RichText. While we could write a custom RTF parser, that is a huge undertaking we'd not like to start. We cannot use the RichTextBox provided with the FCL since it is a standard System.Windows.Control which is not at all lightweight (thousands of items == thousands of RichTextBoxes, translates to bad performance plus lots of limitations related to standard WinForm Controls).

So I guess I'm looking for a way to display Rich Text items, thousands of items, all on a single GDI+ surface, without utilizing thousands of RichTextBox controls. Any suggestions?


---------------------------
He who knows that enough is enough will always have enough.

-Lao Tsu

GeneralRe: Drawing RichText on a GDI+ surface Pin
Heath Stewart9-Apr-04 7:53
protectorHeath Stewart9-Apr-04 7:53 
GeneralRe: Drawing RichText on a GDI+ surface Pin
Judah Gabriel Himango9-Apr-04 8:18
sponsorJudah Gabriel Himango9-Apr-04 8:18 
GeneralRe: Drawing RichText on a GDI+ surface Pin
Judah Gabriel Himango9-Apr-04 9:41
sponsorJudah Gabriel Himango9-Apr-04 9:41 
GeneralRe: Drawing RichText on a GDI+ surface Pin
Heath Stewart9-Apr-04 10:04
protectorHeath Stewart9-Apr-04 10:04 
GeneralFtpServer Pin
Member 7326719-Apr-04 6:26
Member 7326719-Apr-04 6:26 
GeneralRe: FtpServer Pin
Nick Parker9-Apr-04 6:43
protectorNick Parker9-Apr-04 6:43 
GeneralVertical toolbar Pin
mcgahanfl9-Apr-04 5:33
mcgahanfl9-Apr-04 5:33 
GeneralRe: Vertical toolbar Pin
Heath Stewart9-Apr-04 7:02
protectorHeath Stewart9-Apr-04 7:02 
GeneralRe: Vertical toolbar Pin
mcgahanfl12-Apr-04 2:37
mcgahanfl12-Apr-04 2:37 
GeneralCrystal Reports Merge Modules Pin
kornstyle9-Apr-04 4:36
kornstyle9-Apr-04 4:36 
GeneralRe: Crystal Reports Merge Modules Pin
Heath Stewart9-Apr-04 7:08
protectorHeath Stewart9-Apr-04 7:08 
GeneralRe: Crystal Reports Merge Modules Pin
kornstyle9-Apr-04 10:28
kornstyle9-Apr-04 10:28 
GeneralRe: Crystal Reports Merge Modules Pin
kornstyle9-Apr-04 10:32
kornstyle9-Apr-04 10:32 
GeneralRe: Crystal Reports Merge Modules Pin
Heath Stewart9-Apr-04 10:38
protectorHeath Stewart9-Apr-04 10:38 
GeneralMDI MinimizeBox MaximizeBox Pin
TweeZz9-Apr-04 4:29
TweeZz9-Apr-04 4:29 
GeneralRe: MDI MinimizeBox MaximizeBox Pin
Heath Stewart9-Apr-04 7:17
protectorHeath Stewart9-Apr-04 7:17 
GeneralRe: MDI MinimizeBox MaximizeBox Pin
TweeZz9-Apr-04 8:51
TweeZz9-Apr-04 8:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.