>>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.
Of course it is, the problem is that it is only passing the parameters the apply to the 16bit version.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement