Ciao
Esiste una funzione che mi dice i pollici del monitor sul quale sto lavorando ?
Grazie
Ciao
Esiste una funzione che mi dice i pollici del monitor sul quale sto lavorando ?
Grazie
? ScreenSize(), ScreenSize( .T. ) // mm, inches#define HORZSIZE 4
#define VERTSIZE 6
? ( ( ( GetDeviceCaps( hDCM, HORZSIZE ) ^ 2 + GetDeviceCaps( hDCM, VERTSIZE ) ^ 2 ) ^ 0.5 ) / 25.4 )It gives me NOT correct data !
Example, i use a monitor 19 " wide, it gives me 21.77 (?)
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.