G
Guest
I have a Windows form application that I generally run minimized. When a
critical event occurs it instantiates another "Alert" form which I want to
grab the user focus.
In the Alert constructor I call both this.Show() and this.Activate(), but if
the parent application is minimized then the Alert form will also stay
minimized (and just flash).
How can I cause the Alert form to show itself and grab focus?
critical event occurs it instantiates another "Alert" form which I want to
grab the user focus.
In the Alert constructor I call both this.Show() and this.Activate(), but if
the parent application is minimized then the Alert form will also stay
minimized (and just flash).
How can I cause the Alert form to show itself and grab focus?