Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing app from Taskbar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00291593
Message ID:
00291596
Vues:
18
>I have an icon in the system tray which I can use to control my app, but how do I remove the app from being displayed in the taskbar. I know in VB there is the property ShowInTaskbar, what is it in VFP?

Form.Visible = .F. will remove the taskbar presense; you'll need to change this when you activate the app from the systray. The WindowState affects the ShowWindow mode of a visible form or Window context; VFP directly supports 3 - 0 is normal, 1 is minimized, and 2 maximized

If you run your app in the context of the main VFP screen, _SCREEN.Visible is the controlling object property for all forms in that context. If you use a top-level form, it has a taskbar presense independent of the main VFP window, so it falls back on the top-level form's visible property.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform