Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lockscreen does not work
Message
 
 
À
01/07/2016 10:01:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01637864
Message ID:
01637869
Vues:
70
>I have a form where in the Activate() event, I rebuild several cursors and a few other data update tasks, all of which cause the UI form to flash and such as the grid recordsources and record pointers get moved around.
>
>So, I added LockScreen = .t. before my code, and Lockscreen = .f. after the code, but the UI still flashes a lot which the code between the LockScreen settings runs.
>
>Why doesn't LockScreen stop all this UI flickering like I want it to?

Not sure if it helps in your case, but you can also try:
DECLARE INTEGER LockWindowUpdate IN User32.DLL LONG hWnd
LockWindowUpdate(THISFORM.hwnd)
...
LockWindowUpdate(0)
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform