Jump to content

RichTextBox related question

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
cygnusX

cygnusX

    Newbie

  • Members
  • Pip
  • 3 posts
When you move the mouse cursor over hyperlink in some browser the cursor is changed and when you remove it from the hyperlink the cursor is changed to default cursor.Is it possible to have the same functionality in .Net?I'm talking about RichTextBox specifically.I mean if i move the cursor over a certain word i want a different cursor over this word.I've been asking this question in maybe...i don't know,maybe 10 other message boards and doesn't get adequate answer.

#2
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
That is a hard one and I don't really see an answer... In the MSDN I don't really see anything that would allow you to control this behavior so you may have to write your own richtextbox based from the MS one.

As a workaround you could always capture the onMouseOver event of the textbox. If the mouse is over a link then pragmatically select the link and change the selection color.