Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralColumn Headers in a Datagrid Pin
Qarash20-Jun-03 4:57
Qarash20-Jun-03 4:57 
GeneralRe: Column Headers in a Datagrid Pin
Dimitris Iliopoulos20-Jun-03 12:19
Dimitris Iliopoulos20-Jun-03 12:19 
GeneralRe: Column Headers in a Datagrid Pin
Qarash23-Jun-03 2:40
Qarash23-Jun-03 2:40 
GeneralVisual Studio Design Time Bug (C#) Pin
Qarash20-Jun-03 4:53
Qarash20-Jun-03 4:53 
GeneralSQL Server Structure Access Pin
Mark Sanders20-Jun-03 3:24
Mark Sanders20-Jun-03 3:24 
GeneralRe: SQL Server Structure Access Pin
Daniel Turini20-Jun-03 3:38
Daniel Turini20-Jun-03 3:38 
GeneralRe: SQL Server Structure Access Pin
Arjan Einbu20-Jun-03 11:39
Arjan Einbu20-Jun-03 11:39 
QuestionRichText Gradient ColorFill ?? Pin
KingTermite20-Jun-03 2:59
KingTermite20-Jun-03 2:59 
I have RichTextBox with some menu items I've added, like "bold", "italic" ...all the normal stuff.

But I'd like to add some cool effect things too. Right now, I'd like to add a color gradient feature that would allow the user to choose two colors and the selected text does a gradient color change from color1 to color2. Kind of like you can do with Yahoo Messenger if you are familiar with Y!Messenger.

I've seen an example of doing this with drawing through a built in API call, but is there a way I can do that with RichText (RTF) ? Or can I use a DrawString and convert it to RTF in some easy way?

I started out trying to do it manually, but there are a lof of special cases depending on the distance of each color component (R, G and B), and the number of chars, etc...

Any ideas?



There are only 10 types of people in this world....those that understand binary, and those that do not.
GeneralRe: RichText Gradient ColorFill ?? Pin
KingTermite20-Jun-03 6:53
KingTermite20-Jun-03 6:53 
GeneralRe: RichText Gradient ColorFill ?? Pin
KingTermite20-Jun-03 10:45
KingTermite20-Jun-03 10:45 
AnswerRe: RichText Gradient ColorFill ?? Pin
Nick Parker20-Jun-03 18:22
protectorNick Parker20-Jun-03 18:22 
GeneralDelegates Design Problem Pin
Rohde20-Jun-03 2:46
Rohde20-Jun-03 2:46 
GeneralRe: Delegates Design Problem Pin
Philip Fitzsimons20-Jun-03 3:07
Philip Fitzsimons20-Jun-03 3:07 
Generalproblem in getting text in TABLE tag of html document Pin
Asim N.20-Jun-03 1:28
Asim N.20-Jun-03 1:28 
GeneralSend file from PC to PDA Pin
Justnice20-Jun-03 0:58
Justnice20-Jun-03 0:58 
QuestionHow to create VARIANT pointer of an array of structs from C# Pin
Chris Goddard19-Jun-03 23:40
Chris Goddard19-Jun-03 23:40 
AnswerRe: How to create VARIANT pointer of an array of structs from C# Pin
Nick Parker20-Jun-03 3:55
protectorNick Parker20-Jun-03 3:55 
Questionhow could I do a rebar ? Pin
JeffSayHi19-Jun-03 22:41
JeffSayHi19-Jun-03 22:41 
QuestionUsing 3rd Party API ?? Pin
slnarasimhan19-Jun-03 22:18
slnarasimhan19-Jun-03 22:18 
AnswerRe: Using 3rd Party API ?? Pin
Kannan Kalyanaraman19-Jun-03 22:25
Kannan Kalyanaraman19-Jun-03 22:25 
AnswerRe: Using 3rd Party API ?? Pin
Deepak Khajuria19-Jun-03 22:28
Deepak Khajuria19-Jun-03 22:28 
GeneralRe: Using 3rd Party API ?? Pin
slnarasimhan19-Jun-03 22:32
slnarasimhan19-Jun-03 22:32 
GeneralRe: Using 3rd Party API ?? Pin
Deepak Khajuria19-Jun-03 23:12
Deepak Khajuria19-Jun-03 23:12 
GeneralRe: Using 3rd Party API ?? Pin
slnarasimhan19-Jun-03 23:19
slnarasimhan19-Jun-03 23:19 
GeneralRe: Using 3rd Party API ?? Pin
Deepak Khajuria19-Jun-03 23:41
Deepak Khajuria19-Jun-03 23:41 

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.