Hello,
Is it possible to create a custom link in a RichTextBox control I know you can enable DetectURL and any text w/ "http://" or "www." will become a hyperlink. What I need is some way to assign an aribtrary text as a link.
If it's not possible, how would I go about overwritting the control to enable custom links Thanks!

RichTextBox creating a custom link??
Michael J. Fuhrman
The RichTextBox class does not make public the ability the set arbitrary text with the link attribute.
You'll have to override the RichTextBox class and PInvoke SendMessage with a CHARFORMAT2 structure with the EM_SETCHARFORMAT message.
MightyMTreeGrl
Check out http://www.codeproject.com/cs/miscctrl/RichTextBoxLinks/RichTextBoxLinks_src.zip for an example of overriding RichTextBox to support "custom links".