Hello,
I have a little app that controls PHP cron jobs (automated script
execution) on my local machine.
My app is started once a day at 15h00. The app shows the output of the
script so it has a window, but the window has to be created in the
background so it dousn't show up in front of the other windows.
Example:
Lets say i'm playing a game and my app starts. The app window will
become in front of the game, so the game is minimized (some games even
crash when they loose focus). So that's annoying.
I do want the window to show up, but not in front.
Can this be done?
I'm using vb.net 2003
Stoitcho Goutsev (100) - 06 Nov 2006 16:18 GMT
Hi,
If it is not a problem to show the window minimized quick solution to your
problem would be to set the Form.WindowState to Minimized and the to
override Form.ShowWithoutActivation to return *true*. In this case the form
will be shown, but not activated and as long as it is minimized it won't
pop-up over the other windows. BTW Form.ShowWithoutActivation is not
declared in .NET 1.x
HTH

Signature
Stoitcho Goutsev (100)
> Hello,
>
[quoted text clipped - 13 lines]
>
> I'm using vb.net 2003