Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Smoother screen updates during form resize
Message
De
28/07/2005 10:32:42
 
 
À
26/07/2005 22:59:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01036082
Message ID:
01036595
Vues:
9
>Any suggestions on how one can make a form resize event update the screen smoother? I'm using VFP 9's new Anchor property and the repainting during a mouse based form resize can get pretty jerky.
>
>Since all my control alignment and sizing is automatically handled by .Anchor properties, I don't see any place in my code to use LockScreen or the Win32 API equivalent (LockWindowUpdate).
>
>Should I assume this behavior is just a fact of life of Windows applications in general?
>
>This isn't a critical issue - just a disappointment in terms of application esthetics.
>
>Any thoughts?
>
>Malcolm

I find that the Resize event gets called multiple times when resizing a form. As an alternitive, I implememnted the LittleLowRightCorner control (download #25353) that displays a rectangle as the resizing is occuring. Then when the mouse is released, the form is rezized to the size of the rectangle. Much smoother.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform