Dimensioni monitor (non risoluzione)

Moderator: Enrico Maria Giordano

Dimensioni monitor (non risoluzione)

Postby Romeo » Tue Jan 09, 2018 4:45 pm

Ciao
Esiste una funzione che mi dice i pollici del monitor sul quale sto lavorando ?

Grazie
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Dimensioni monitor (non risoluzione)

Postby cnavarro » Tue Jan 09, 2018 6:20 pm

Yes, use:
Functions of Fivewin

Code: Select all  Expand view

? ScreenSize(), ScreenSize( .T. )   // mm, inches
 


or

Code: Select all  Expand view

#define HORZSIZE           4
#define VERTSIZE           6

? ( ( ( GetDeviceCaps( hDCM, HORZSIZE ) ^ 2 + GetDeviceCaps( hDCM, VERTSIZE ) ^ 2 ) ^ 0.5 ) / 25.4 )

 
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6548
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Dimensioni monitor (non risoluzione)

Postby Romeo » Wed Jan 10, 2018 4:03 pm

It gives me NOT correct data !

Example, i use a monitor 19 " wide, it gives me 21.77 (?)
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Dimensioni monitor (non risoluzione)

Postby nageswaragunupudi » Thu May 03, 2018 3:30 pm

21.77 is the diagonal size of the monitor.

We normally express TV and Monitor sizes in diagonal size.

For example, when we say 54" TV, we mean 54" diagonal size.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10643
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to All products support

Who is online

Users browsing this forum: No registered users and 9 guests