I have an application that I need to minimise to the tray and then at a
press of a button it needs to maximise and come to the front for a few
seconds and then minimise again.
Failing that it can go behind other windows and then come to the fore at
a press of a button and then go back behind the other windows after a
few seconds.
Basically I need it out of sight until the button press and then I need
it visible for a few seconds before it goes back out of sight.
Any ideas how to do that?
Thanks.
Step 1 - ask in a dotnet group
This group deals with VB6 and below, .net groups have
'dotnet' in the name.
--
Jan Hyde
Use a systemwide hotkey (this is the object that I use):
http://www.freevbcode.com/ShowCode.asp?ID=2844
Upon the hotkey being pressed, maximize the window (and maybe set visable to
true?) and set a timer.
Upon the timer triggering, return to minimized (and maybe set visable to
false?)
How you use it is upto you... but you need to either use that dll or hook
the keyboard yourself using API calls.
Using the dll is MUCH easier
OK, thanks :)