Hi there.
I have a bit of an odd question. My situation is as following:
I have a form, It contains several user controls that in turn contains either other user controls or other basic controls such as TextBox, RichTextBox and such.
As part of the logic when editing the text boxes, I create another control programatically and inform the form about it. Other controls on the form may react in turn and create more controls.
Trouble is, These controls steal focus from my control when they are created and added to the form/other controls.
Is there a way to prevent my control from losing focus while that happens?