D
dinny
I have a form and a multiline textbox with a message.
The problem is that I can see the cursor, is there any
way so move the focus away from the textbox so that
I don't see the cursor on the form (unless someone
actively clicks on the form, that is ok)
I tried this, but it didn't work
Public Declare Auto Function HideCaret Lib "user32.dll" ( _
ByVal hwnd As IntPtr) As Boolean
Private Sub About_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
TextBox1.Select(1000, 0)
HideCaret(TextBox1.Handle)
End Sub
The problem is that I can see the cursor, is there any
way so move the focus away from the textbox so that
I don't see the cursor on the form (unless someone
actively clicks on the form, that is ok)
I tried this, but it didn't work
Public Declare Auto Function HideCaret Lib "user32.dll" ( _
ByVal hwnd As IntPtr) As Boolean
Private Sub About_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
TextBox1.Select(1000, 0)
HideCaret(TextBox1.Handle)
End Sub