Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetDesktopWindow(), VFP7, Win XP????
Message
De
10/02/2003 22:44:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
GetDesktopWindow(), VFP7, Win XP????
Divers
Thread ID:
00751754
Message ID:
00751754
Vues:
84
This classic trick below doesn't seem to work on our new computers running Win XP Pro. I t worked fine on Win NT 4.

Am I missing something?

Of course, I want to hide the "Printing page x..." window that pops up. I found this code on UT a long time ago, and it was working fine. It does'nt give any errors, it just does not hide the window like it used to.



DECLARE INTEGER GetDesktopWindow IN WIN32API
DECLARE INTEGER LockWindowUpdate IN WIN32API INTEGER lnHandle

hWin = GetDeskTopWindow()
LockWindowUpdate(hWin)

*report form ...*

LockWindowUpdate(0)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform