Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
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