I've got a textbox that doesn't want to behave in a Winforms application. It's used to send messages, so it's cleared after enter is pressed using Clear()
After that, Select() is called. Sometimes, however, there is no caret. It IS focused, as it accepts text, but it won't show the caret until it is left and re-entered.
Any ideas?
I've tried using Focus() instead, tried using txb->Text = L"", and they all do it. I even tried calling ShowCaret after each call to Select() but that didn't do it either.
Select()
. You are selecting what? – γηράσκω δ' αεί πολλά διδασκόμε