Click here to Skip to main content
16,010,334 members
Home / Discussions / C#
   

C#

 
AnswerRe: Not sure if RichTextBox can do this? Pin
stancrm11-Feb-08 22:35
stancrm11-Feb-08 22:35 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 22:54
Dewald11-Feb-08 22:54 
AnswerRe: Not sure if RichTextBox can do this? Pin
MohammadAmiry11-Feb-08 22:51
MohammadAmiry11-Feb-08 22:51 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 22:56
Dewald11-Feb-08 22:56 
AnswerRe: Not sure if RichTextBox can do this? Pin
Luc Pattyn11-Feb-08 23:09
sitebuilderLuc Pattyn11-Feb-08 23:09 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 23:16
Dewald11-Feb-08 23:16 
GeneralRe: Not sure if RichTextBox can do this? Pin
DaveyM6911-Feb-08 23:35
professionalDaveyM6911-Feb-08 23:35 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald12-Feb-08 0:50
Dewald12-Feb-08 0:50 
OK, I'm making progress but it's painfully slow. Was hoping someone could give me a nudge in the right direction.

I'm at the point now where I'm trying to paint the RichTextBox in the ListBox (in the DrawItem event of course).

The nearest I've come so far is to use the e.Graphics.DrawImage() method but obtaining an Image of the RichTextBox is proving tricky. I'm sure there has to be a better way than importing the gdi32.dll and bit blasting the control onto an image (as explained here[^]) which is then drawn into the ListBox.

Any ideas?
AnswerRe: Not sure if RichTextBox can do this? Pin
Pete O'Hanlon12-Feb-08 1:13
mvePete O'Hanlon12-Feb-08 1:13 
QuestionLine numbers next to Listview Pin
eyalbi00711-Feb-08 21:15
eyalbi00711-Feb-08 21:15 
GeneralRe: Line numbers next to Listview Pin
N a v a n e e t h11-Feb-08 21:30
N a v a n e e t h11-Feb-08 21:30 
QuestionAre custom attributes read-only? Pin
willydemis11-Feb-08 18:34
willydemis11-Feb-08 18:34 
AnswerRe: Are custom attributes read-only? Pin
Roger Alsing11-Feb-08 23:47
Roger Alsing11-Feb-08 23:47 
AnswerRe: Are custom attributes read-only? Pin
Daniel Grunwald12-Feb-08 0:28
Daniel Grunwald12-Feb-08 0:28 
GeneralI need help with a program Pin
Alex50111-Feb-08 16:05
Alex50111-Feb-08 16:05 
GeneralRe: I need help with a program Pin
MarkB77711-Feb-08 16:22
MarkB77711-Feb-08 16:22 
GeneralRe: I need help with a program Pin
Christian Graus11-Feb-08 18:11
protectorChristian Graus11-Feb-08 18:11 
GeneralVolatile?? :confused: Pin
geekfromindia11-Feb-08 13:38
geekfromindia11-Feb-08 13:38 
GeneralRe: Volatile?? :confused: Pin
Colin Angus Mackay11-Feb-08 13:52
Colin Angus Mackay11-Feb-08 13:52 
GeneralRe: Volatile?? :confused: Pin
geekfromindia11-Feb-08 14:33
geekfromindia11-Feb-08 14:33 
GeneralRe: Volatile?? :confused: Pin
MidwestLimey11-Feb-08 14:35
professionalMidwestLimey11-Feb-08 14:35 
GeneralRe: Volatile?? :confused: Pin
geekfromindia11-Feb-08 14:39
geekfromindia11-Feb-08 14:39 
GeneralRe: Volatile?? :confused: Pin
MidwestLimey12-Feb-08 4:26
professionalMidwestLimey12-Feb-08 4:26 
GeneralRe: Volatile?? :confused: Pin
MarkB77711-Feb-08 16:30
MarkB77711-Feb-08 16:30 
GeneralRe: Volatile?? :confused: Pin
geekfromindia11-Feb-08 17:09
geekfromindia11-Feb-08 17:09 

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.