In a textbox, how can u prevent the display of the blinking cursor when you click on it?
I did read in some forums that there is call to a particular api but when i
Putting the hideCaret function inside the TextChanged event will solve the problem:
[DllImport("user32.dll")] static extern bool HideCaret(IntPtr hWnd); private void textBox1_TextChanged(object sender, EventArgs e) { HideCaret(textBox1.Handle); }