We have a 3rd party control loaded in our C# WinForms app.
When we call a method on this 3rd party ActiveX control, it asynchronously steals focus. For example:
// This call causes 3rd party to spawn a thread and steal focus
// milliseconds later.
foo3rdParty.DoSomething();
Is there a way to prevent a control from stealing focus?
ugh. you’ve probably already thought of this but can you disable the control’s window during the period (or a guesstimation) when it tries to take focus, without hurting the user experience?