Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen.height?
Message
 
 
To
09/07/2000 11:51:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00389965
Message ID:
00390565
Views:
11
Just a heads up on this matter for future reference. With VFP7, we have decided to make a change to improve this situation for the better. Currently, both _VFP and _SCREEN share same Top, Left, Height and Width properties. The Top and Left properties point to those of the main VFP application window. The Height and Width properties reflect those of the VFP client (desktop) area.

For VFP7, we will change _SCREEN so that the Top and Left properties point to those of the VFP client coordinates. We will change the Width and Height properties of _VFP to point to those for the entire VFP application window.

While these changes may affect some existing code, we feel that providing more accurate and valuable property settings is a good thing. Additionally, both _SCREEN and _VFP objects will have new hWnd properties for the advanced developer. And as already suggested here, you can use SYSMETRICS() to get precise system sizes of menus, toolbars, window frames, etc. So, in the future if you need to create a routine to display a context menu at the location of a control on a user-defined toolbar, it should be much simpler.

Hope this helps out some...Randy


>Hi,
>How do I get the actual height of the screen area of the _screen object. Meaning, excluding the titlebar, toolbars, menu and statusbar. I'm refering to the area that ? outputs are displayed.
>
>Thanks, Ramil 7/9
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform