How do I know the programmed display 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 do I know the programmed display resolution

#1 Post by Eugene Lutsenko »

How do I know the programmed resolution of the monitor. I remember that somewhere wrote about it on the forum, but I do not remember exactly where

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: How do I know the programmed display resolution

#2 Post by reganc »

Hi Eugene

AppDeskTop():currentsize() will give you the Windows desktop size on the main monitor.
dc_getworkarea() returns the usable area of the desktop. That is without the Windows Taskbar and any other docked 'always on top' Windows Toolbars.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: How do I know the programmed display resolution

#3 Post by Auge_Ohr »

reganc wrote:AppDeskTop():currentsize() will give you the Windows desktop size on the main monitor.
this work only if DPI = 100%
look at http://bb.donnay-software.com/donnay/vi ... 63&p=10809
greetings by OHR
Jimmy

Post Reply