Reputation: 7887
I have a utility where I want it to pop up to the front of the screen from time to time to request user input.
(I know it is very annoying general behavior but I have good reasons in this case.)
I have found the RequestUserAttention method that can be used for a more pleasant request for input from the user but in my case I just want it to pop up a window.
Maybe even modal on top of all the other windows.
The platform here is XP if that makes any difference.
Upvotes: 4
Views: 1332
Reputation: 1611
You really should think about your reasons again, but anyway:
frame.Show()
frame.Raise()
frame.Iconize(False)
should raise the frame.
Upvotes: 5