Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intercepting the Application Resize Event
Message
 
 
To
01/05/2001 12:26:29
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00502030
Message ID:
00502078
Views:
15
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform