How program to find the screen resolution?

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

How program to find the screen resolution?

#1 Post by Eugene Lutsenko »

How program to find the screen resolution?

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: How program to find the screen resolution?

#2 Post by Cliff Wiernik »

This is what I use.

nWidth := AppDeskTop():currentSize()[1] // current screen size width in pixels
nHeight := AppDeskTop():currentSize()[2] // current screen size height in pixels

returns 1920 and 1080 for my monitor, which is correct.


Post Reply