Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to get screen height * width ?
Message
 
À
29/12/1999 23:29:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00309284
Message ID:
00310317
Vues:
37
>Sysmetric() maps to the 16bit Win API, the Taskbar info was added in the Win32 API. They probably won't update it because they made it so easy to call the API directly.

Hi Albert,

Let's clear this up so that no one misunderstands what's said here. VFP isn't calling a 16 bit function. It's calling GetSystemMetrics() in USER32.DLL. This function, however, was available in Win16, and FPW called that one.

Unfortunately, from my POV, the parameters to SYSMETRIC() don't directly correspond to those passed to GetSystemMetrics(). For example, the screen width in SYSMETRIC() is 1, in GetSystemMetrics() you use 0.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform