Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check the current screen resolution?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682835
Message ID:
01682844
Views:
50
>>Hi,
>>
>>I have a window/form which is only works on a larger monitors. So, in order to show this window/form on a small monitor, I need to reduce it (at run-time). Is there a way to find out the current screen/monitor resolution so that I can make the height of the window smaller?
>>
>>TIA
>Be aware that changing the screen resolution will rearrange the icons on the desktop which may not be to the user's best interest.

I am not changing the screen resolution of the user's desktop. I am changing the size of the VFP 9 form/window based on the user's desktop resolution.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform