Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intercepting the Application Resize Event
Message
 
 
À
01/05/2001 12:26:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00502030
Message ID:
00502078
Vues:
17
>Does anyone know an elegant way to intercept the application resize event? Right now I am using a timer control that is instantiated when the app starts, but am concerned about the overhead this creates and possible performance reduction. I have a bitmap in the background of the app screen that I need to be able to change based on the current screen size. I am using the _screen.picture property to set the bitmap. Currently, the timer checks every 2 seconds to see whether the screen size has changed, and sets the bitmap accordingly. But it seems to me like there should be a better way to do this. Is there a way to subclass the screen (or application) object? Any suggestions would be most appreciated. Thanks.
>
>Sebastian

Check out article Event Notification System for VFP Desktop by Neil Tonkin in March 2001 VFUG newslwtter.
There is direct link http://www.vfug.org/Newsletters/Newsletters2.Afp?!_0DK10QXSODate=03/01/2001#EventNotification
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform