View Single Post
  #1 (permalink)  
Old 03-15-2008, 02:12 PM
alfcen's Avatar
alfcen alfcen is offline
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 425
Awards Showcase
Beta Tester 
Total Awards: 1
Default How to obatin screen size and o/s info?

Hi Gang,

Two issues:

1. Suppose you have an application compiled without optimization.
Form1.Width shows 240 on both QVGA and VGA devices, on the
latter because pixel doubling is performed.
Is anyone aware of a method to determine the true native screen
size without crawling in the registry and additional library?

2. Has anyone come across a method of reading the operating
system version (PPC 2003/WM5/WM6) in the registry of a device?

Both items could eventually be added to a wishlist for an updated
hardware.dll.

Thanks and cheers
Robert
Reply With Quote