Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Once again, mimize to system tray?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00288575
Message ID:
00288591
Vues:
8
>>Hi all.
>>
>>I have been scouring archives and have found a lot of threads regarding showing icon apps in the system tray, but I don't think I have found quite how to do what I want.
>>
>>Basically I want to have a program running, monitoring for a file to appear. While monitoring the program needs to be invisible, preferable with a tray icon and no entry on the task bar. Once the file appears, I want to be able to pop up a dialog, process the file, and then go back to monitoring (invisible) mode.
>>
>>Basically, what I would like to do is have a form with a timer runniming minimized which can watch for the file and then maximize when the file is found.
>>
>>I found the file which lets me show icons in the system tray and capture their mouse clicks, etc. but I don't know how to have a form minimize to the system tray, or at least to be invisible so that I can use this other method to display an icon in the system tray.
>>
>
>You need to set _SCREEN.Visible to .F. to make it (and any forms running in the context of it) completely invisible, it'll continue to run as a background process. Once you do this, until you make it or some top-level window appear visible with a WindowState of 0 or 2, interacting with it will be probelmatic, so I'd look to have something minimize into the icon tray...

Perfect, Ed!

This goes along with the post I made last week regarding sending a message to another terminal. With your suggestions I think I've got a gameplan.

Thanks again!

Paul
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform