Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Snappiest Form Repaint/Reposition
Message
 
 
À
20/06/2012 01:27:44
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:
01546417
Vues:
74
>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
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform