Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile at runtime. How to remove thermometer?
Message
De
30/08/2000 18:18:02
 
 
À
30/08/2000 07:47:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00408118
Message ID:
00411089
Vues:
25
>Fred:
>
>We talked about this task several months ago. Here is a method that I wrote to try to prevent DOS windows from popping up all over the screen. It works well on Win95 & Win98. Haven't tested on ME, yet. NT 4.0 & Win2000, it sometimes works, sometimes, not. With the quick compile of a prg, it may make the difference. BEWARE, that if you get an error or a lockup, You may need to reach for the big red switch!
>

We did? I don't remember, but that doesn't mean much. Thanks, I'll give it a try...

Seems to work OK for W2K!

Thanks (again?).

>HTH
>
>* BEGIN MV6920.LOCKDISPLAY()
>* Description:
>* Parameters: -
>* Returns:
>* Notes: 1.
>* 2.
>* Revisions: 05/25/00 - MWT
>* - Created
>
>lparameter tlOnOff
>
>* added a parameter to the form to allow me to prevent any locking, if needed.
>
>if thisform.LockDeskTop
>
> DECLARE INTEGER GetDesktopWindow IN WIN32API
> DECLARE INTEGER LockWindowUpdate IN WIN32API INTEGER lnHandle
>
>do case
>case tlOnOff
> thisform.hwinDeskTop = GetDeskTopWindow()
> = LockWindowUpdate(thisform.hwinDeskTop)
>otherwise
> = LockWindowUpdate(0)
>endcase
>
>endif
>
>* END MV6920.LOCKDISPLAY()
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform