I've created an app with invisible form. (Opacity = 0 or Visible = false ShowInTaskbar = false) I've tried a lot of different ways of activating my form while having active other applications. By "activating" I mean giving focus to it without making it visible. For some reason, Activate() and Focus() methods are not working as supposed. According to MSDN (https://msdn.microsoft.com/en-us/library/system.windows.forms.form.activate%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396) Activate() method should cause focus of window if form is not minimized, but it is not working.
The only way I found to activate (focus) my window is minimize it and then return its state to Normal. It is working just perfect, but there is another problem: for Windows XP it causes constant effect of minimizing and maximizing of window, even though it is invisible. Is there a way to make this effect not visible just for my form?
Right now this effect is looking like this: