Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pickup _screen windowstate change?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00085679
Message ID:
00085996
Vues:
39
>>You're absolutely right. Bad testing on my part. I updated a label in the paint event, which, of course, caused paint to fire again, ad infinitum. Interestingly enough. If you resize a form and make it smaller, paint doesn't fire, but if you make it larger, it does. Further, it doesn't fire if you move the form.
>
>I guess there's only a need to repaint when there's an increase in size?
>

This is a guess, but I'd say it's because the areas are not displayed when made smaller, but new area is when made larger.

>>However, it does still leaves open the problem. Unfortunately, it doesn't appear as if any of the events fire when the _SCREEN is resized. It would seem that the only way to handle the problem is to add a timer to the form.
>
>Or you can use top-level, where events do fire...

Exactly.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform