Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize the main VFP screen
Message
 
À
21/09/1998 13:11:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00139109
Message ID:
00139149
Vues:
21
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform