Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Screen Resolutions
Message
 
À
06/10/2005 08:13:56
Brian O'Donovan
Crescent Computers
Cork, Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01056684
Message ID:
01056690
Vues:
20
Brian,

Screen resolution can be set using API call ChangeDisplaySettings, which changes the settings of the default display device to the specified graphics mode.
DECLARE INTEGER ChangeDisplaySettings IN user32; 
    STRING @lpDevMode,; 
    INTEGER dwflags
The first input parameter points to a DEVMODE structure, which makes this function rather difficult to be called under Visual FoxPro. Still it is possible.

There's a sample code (members area) on my web site:
How to change display settings: screen resolution, screen refresh rate
http://www.news2news.com/vfp/?example=374

True, this subject brings a discussion almost every time, whether one should adjust screen resolution or not.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform