Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to get screen height * width ?
Message
From
28/12/1999 13:17:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00309284
Message ID:
00309318
Views:
35
>>With native VFP. I prefer not to use WinAPI. TIA.
>
>Cetin,
>
>I know you well enough to know you're probably not asking for the size in pixels, but the physical dimensions (in meters I assume) of the monitor. That right?


No George :) If I can get the pixels I could get the twips :)
Mark I'm a human too :) and being honest just couldn't think sysmetric().
Fred and Ed unfortunately I talked too early about sysmetric() being the answer. My sesssion was somehow a normal "maximizable" session. I should reproduce the effect first and I can only do it tomorrow. I'll be back if that doesn't work :)

Here a short detail (Just can't remeber exact steps):
-A VFP task open (max or norm ? don't remember)
-Screen res. from 1280*1024 to 800*600
-Anýother VFP task (fox screen max. or norm again can't remember :( )
-Restore resol.
-Return to first VFP task
-Maximize
-Maximized state is obviously about 800*600

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform