Wilkin, Kurt wrote:
> 
> Can't remember exact details but the Windows call GetDeviceCaps is
> probably a good start.
> 

Replying to meself, but did the googling for you :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/dev
cons_88s3.asp

HORZSIZE        Width, in millimeters, of the physical screen.
VERTSIZE        Height, in millimeters, of the physical screen.
HORZRES         Width, in pixels, of the screen.
VERTRES         Height, in raster lines, of the screen.
LOGPIXELSX      Number of pixels per logical inch along the screen
width. In a system with multiple display monitors, this value is the
same for all monitors.
LOGPIXELSY      Number of pixels per logical inch along the screen
height. In a system with multiple display monitors, this value is the
same for all monitors.
BITSPIXEL       Number of adjacent color bits for each pixel.

Cheers, Kurt.
This electronic message together with any attachments is confidential and
intended for the named recipient's use only.  If you are not the intended
recipient (i) do not copy, disclose or use the contents in any way, (ii)
please let us know by return email immediately then destroy the message, and
any hard copies of the message, and any attachments.  The sender of this
message is not responsible for any changes made to this message and/or any
attachments and/or connection linkages to the Internet referred to in this
message after it has been sent.  Unless otherwise stated, any pricing
information given in this message and/or attachments is indicative only, is
subject to change and does not constitute an offer to buy or sell securities
or derivatives at any price quoted.  Any reference to the terms of executed
transactions should be treated as preliminary only and subject to separate
formal written notification.  Where reference is made to research material
and/or research recommendations, the basis of the provision of such research
material and/or recommendations is set out in the relevant disclaimer.

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to