Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't hide desktop
Message
 
À
11/09/1996 10:44:51
John Wenger
Clear Sky Computer Company
Lowell, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00007602
Message ID:
00007606
Vues:
35
>I would like my application to start with a small screen centered on the display. Right now it starts up maximized, resizes in the upper left hand corner and then centers.
>
>Is there some way to hide the desktop while all this takes place?
>
>I have tried using a dummy window to hold the focus but HIDE WINDOW SCREEN still doesn't do anything.
>
>I have also tried using a FOXPRO.INI file in the application dir to bring the desktop up where I want it. It always uses the INI from the windows directory and I have several different foxpro apps.
>
>Any help would be appreciated.
>
>Thanks,
>
>John Wenger
John, you have differents ways to do that, one is using
the foxpro "Foundation Read", look under READ, or
Foundation read at the foxpro help, but believe me if
you don't need to activate more than window at a time
don't go this way, it sucks..
Another way to do it is after you launch your program
add this line :
READ VALID .F.

example
DO my_aplication.app
READ VALID .F.
is kind of cheat Foxpro with the foundation read.

And another way is creating a very small window, and
activate the command window inside of it.
Example :
DEFINE WINDOW hidecomm FROM 1,1 TO 3,3
ACTIVATE WINDOW command IN hidecomm
(Look page 3-41, DEVELOPER'S MANUAL)
Hope this help.
Good Luck
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform