Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows desktop dimensions
Message
From
17/06/2005 16:58:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01024442
Message ID:
01024494
Views:
21
>>Is there any way to determine the Windows desktop dimensions -- that is, the available height/width after taking consideration of the taskbar (which may/may not be visible)?
>>
>>I looked ad SYSMETRIC(1) and (2), but that doesn't take into account the taskbar.
>>
>>I can't seem to use _screen.Height/Width, since its not visible.
>>
>
>Check Calculate exact size of the TaskBar FAQ #7750

SYSMETRIC(21) and (22) give you the maximized window width and height.
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Previous
Reply
Map
View

Click here to load this message in the networking platform