I have a Form with a Multilined textBox.
With the code below that I use in a buttoncontrol, I try to select these indexes.
When pressing the button, no selection can be seen but when I click on the area
where it should be selected, it ´blincs´ very fast and you can see that the area
was selected.
I wonder why you cant see it. You must click the area but then it dissapear on the same time.
I tried to put Application:: DoEvents() before to activate the Form but this didn´t help.
Application::DoEvents();
richTextBox1->Select( 0, 30);