Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Snappiest Form Repaint/Reposition
Message
De
20/06/2012 14:34:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01546415
Message ID:
01546468
Vues:
57
>>What's the recommended technique to get the "snappiest" form display/redisplay?
>>Even if I do initializing/updating with the form off-screen and LockScreen=.T., and
>>reposition the result as the last step, I still see the window frame first and then its
>>internal paint/repaint. (Hacker's Guide 7's section on LockScreen notes these
>>apparently distinct batch processes) Is this the best I can do? Or is there a
>>technique that I can use to minimize or (hopefully) eliminate this effect?
>
>You can play with thisform.cls() or thisform.draw() and also instead of thisform.lockscreen use Windows API function LockWindowUpdate

Thanks for the suggestions, Naomi.
Googling LockWindowUpdate, I found a LockScreen_assign implementation that seems worth trying.

-m.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform