Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close the VFP system windows when run exe?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00163599
Message ID:
00163771
Vues:
16
>>I don't want the vfp system window (include system menu and top bar) appear when i run my form. I just want the form window appear when i run the application (exe). I have create a menu in my form so i don't need the system menu and system window.
>> Anyone know how to close the vfp system window? why i click the closeable button("x") on the right top can't end my program while running the exe?
>
>Put SCREEN=OFF in a config.fpw if you're using a top-level...

Even if you're not using a top-level form, put it in there - you can start with SCREEN=OFF, monkey about with the default VFP screen, and then make it visible once the application is launched by setting _screen.visible to true.

One thing to remember; if you start with SCREEN=OFF, make certain to either set _screen.visible = .t. or launch a top-level form quickly; until there's a windows context, messages won't display and VFP won't respond to Windows messages from SendMessage() or PostMessage(), and there's nothing sitting on the Windows Taskbar to let you know something is running; you have to get at things through Task Manager to shut down if an error occurs, and it's a messy TerminateProcess() shutdown if you do kill it that way.

Ed
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