>>>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
>
I'd be willing to bet that the Form's MaxHeight and MaxWidth properties were set to 600 and 800 respectively; you can get around this by writing the returns of SYSMETRIC(1) and SYSMETRIC(2) into the properties if you need to.