cursor hide

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thin zar
    New Member
    • Nov 2011
    • 1

    #1

    cursor hide

    How can i hide cursor in text box in c# windforms app?
  • GaryTexmo
    Recognized Expert Top Contributor
    • Jul 2009
    • 1501

    #2
    It looks like the easiest way would be to use the Hide and Show methods on the Cursor class. You can put these in the MouseEnter and MouseLeave events on the textbox so that when the mouse enters the textbox, the cursor hides and when it leaves, the cursor shows again.

    Comment

    Working...