How do I hide the input caret in a System.Windows.Forms.TextBox?

前端 未结 5 1872
暖寄归人
暖寄归人 2021-01-12 07:21

I need to display a variable-length message and allow the text to be selectable. I have made the TextBox ReadOnly which does not allow the text to be edited, but the input c

5条回答
  •  醉酒成梦
    2021-01-12 07:46

    When using the win32 call don't forget to hide the cursor in the textbox's GotFocus event.

提交回复
热议问题