Caret class?

Is there a class that can be used to display carets or do you have to use P/Invoke with CreateCaret/DestroyCaret/ShowCaret/SetCaretPos Thanks.

Answer this question

Caret class?

  • Tippy

    Unfortunately p/invoke.  You can change the cursor position in the textbox by setting the selection, eg:

    textBox1.Select(3, 0)


  • SkyHighRanks

    Thanks for your reply. Then I've to use p/invoke.
  • Caret class?