Custom Caret required

I am making a fancy application that has a small text editing region. I need
to change the system caret (a blinking vertical black line) to something
fancier. Can you give me some hints as to how to go about using a
System.Drawing.Bitmap as a caret Any other object that I can load from a file or create programmatically would do as well.

Thanks in advance


Answer this question

Custom Caret required

  • gaofeng

    I don't really know how to do it in C# however what you might want to think of doing is writing a small flash file that has a textbox in it. You can then make the textbox look like whatever you like and the cursor be any image you want. The flash can talk to c#.

  • Joe Mack

    But then the target computer will need to have the Flash Player installed! Although this does not seem to be much of a problem, but I ran into this problem once during a presentation when the box did not have flash on it and ruined the entire presentation. I would much rather have a pure C# app.
    So, anybody with any solution, please reply.
    And thanks, amonteiro, for your suggestion.


  • Custom Caret required