I have an VB6.0 **MDI app** that I require to continue running while focus is on another app (eg *Freecell* ;-). One of the things it does is refreshes several child windows every x minutes. The problem with the app I am having is everytime **MDI app** refreshes one of the counter child windows it takes focus away from *Freecell* and gives it back to the **MDI app** which is then in your face.
(1)I need a class that will check if the **MDI app** is currently active - if FALSE it will not refresh the child windows, and
(2) can add/remove an icon in the System Tray without returning focus to the **MDI app** if it was not active, and
(3) allow a single click on the icon to return the **MDI app** to being the window with focus.
Most of the PSC stuff I tried dealt with minimising to SysTray and a whole load of mouse balony, but didn't deal with my core requirement. Focus code could only handle SDI apps from the testing I did.
Judging by the bids recieved so far, I probably need to cite an example of what I mean. *MS Exchange* performs exactly how I am wanting my app to. If it is not the active window (minimized or whatever), it will still poke an envelope in the system tray without taking away focus from your *Freecell* game. Double click on the envelope, and it is the active window again...
Don't hesitate to e-mail me for more details :-)
## Deliverables
1) Complete and fully-functional working source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.
## Platform
Win9x, WinNT4.0, Win2K, WinXP