Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen.height?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00389965
Message ID:
00390211
Vues:
11
>>>>>>That code is built into VFP and you have to be a member of the Fox team to see it.
>>>>>>
>>>>>>You can get the titlebar height using one of the Sysmetric options and you can add that to you Form.Height.
>>>>>
>>>>>I just thought of an ugly workaround. I'll just maximize one form, get its height, then do the rearrangements. I can't think of anything else less complicated.
>>>>>
>>>>>Thanks for everyone's inputs.
>>>>>Ramil 7/10
>>>>
>>>>Forgot to add, SYSMETRIC() helped a lot too. Thanks, Larry.
>See "Cascade/Tile Windows" (FILE#9492) under Win32 and Other APIs. I seem also to recall that there's another way to do this, but the method escapes me.
>

Shell.Application offers a mechanism.

>A form's height/width properties do not include the title bar, nor the frame width/height, nor scroll bars, if present. All of these must be taken into consideration. A form's height and width refer only to the client area. When you say a "pre-arranged pattern", cascading or tiling may not be what you're after.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform