Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFont()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00980595
Message ID:
00981192
Views:
51
Dave,

If VFP is maximized look at using the _screen properties rather than sysmetric():

? _screen.Height, _screen.Width
? sysmetric(2), sysmetric(1)

The _screen properties change WRT the taskbar autohide setting.

>Do you know of a Windows API that gives the docking position and height for the Windows Taskbar?
>I have an application that proportionately adjusts object positions and sizes when maximized to full screen. The problem occurs when the Windows Taskbar is NOT set to Auto Hide. The height or width of the Taskbar partially covers up certain controls (depending on the taskbar docking position).
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform