Developers guide

Chapter 7: Display
Display API Elements
48 Psion Teklogix Mobile Devices SDK Developers Guide
The following display information can be retrieved using the SDK:
The following properties are returned, as name/value pairs, by the Mobile Devices SDK:
7.2 Display API Elements
C++: Information concerning the display on all Psion Teklogix Windows CE computers is re-
trieved using the PsionTeklogix::DisplayInformation namespace. Additional display details are
obtained using the Windows CE User Interface Services GDI function GetDeviceCaps ().
Java Information on the display hardware on all Psion Teklogix Windows CE computers is re-
trieved using the com.teklogix.display package.
.NET: Information on the display hardware on all Psion Teklogix Windows CE computers is re-
trieved using the System.Windows.Forms namespace in the .NET Compact Framework, or using
the PsionTeklogix.SystemPTX.DisplayInformation class.
Display Hardware Property C++ Java .NET
Colour or monochrome No Yes Yes
Display type No Yes Yes
Display dimensions in pixels No Yes Yes
Display dimensions in millimetres No Yes Yes
Maximum number of colours, or shades of grey No Yes Yes
Touchscreen, or non-touchscreen Yes Yes Yes
Property Name String Value Type Value
Display Type String Transmissive,
Reflective,
Transreflective, or
Unknown
Physical Width Integer Display width in millimetres
Physical Height Integer Display height in millimetres
Colour Display Boolean True, or
False
Touch Screen Installed Boolean Tru e , o r
False
Width in Pixels Integer Display width in pixels
Height in Pixels Integer Display height in pixels
Maximum Colours Integer Number of colours, or shades
of grey available