Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check Screen Resolution
Message
From
02/10/2002 15:59:22
Fabian Belo
Independent Developer
Argentina
 
 
To
02/10/2002 15:51:35
Fabian Belo
Independent Developer
Argentina
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00707026
Message ID:
00707059
Views:
22
There's a useful API too...
#define SM_CXSCREEN 0           && Screen Width 
#define SM_CYSCREEN 1           && Screen Height  
#define SM_CXFULLSCREEN 16 && Widht (Client area)
#define SM_CYFULLSCREEN 17 && Height (Client area)

DECLARE INTEGER GetSystemMetrics IN Win32API;
INTEGER nIndex

? GetSystemMetrics(SM_CXSCREEN)
? GetSystemMetrics(SM_CYSCREEN)
? GetSystemMetrics(SM_CXFULLSCREEN)
? GetSystemMetrics(SM_CYFULLSCREEN) 
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Previous
Reply
Map
View

Click here to load this message in the networking platform