Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize the main VFP screen
Message
 
To
21/09/1998 13:11:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139109
Message ID:
00139149
Views:
22
Hi Jose,

>Is there any way to detect that the main VFP screen has been resized?

Yes, several. The most common approach is to use a timer that checks the size of the screen. Others put code into their base classes in methods that are regularily executed, like the Paint event or MouseMove and check there for the new size.

Our framework uses a more complex method. It hooks into the WIndows message queue and uses a somehwat difficult mechansim to execute VFP code upon a resize event of the screen. But unlike you have experience with C programming and interfacing with VFP, that's probably no option.

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform