Wednesday, May 26, 2010

Problem with 800x480 resolution on the HTC HD2 (Pocket Stars PDA Version 6.1)

Some customers have reported a problem when running Pocket Stars PDA on the HTC HD2.  The toolbar at the bottom of the screen is displayed with the wrong height and buttons at the right edge are cut off.

Screen05 (2)

The toolbar should look like:

image

Here’s what I know thus far about the problem:

1.Pocket Stars runs fine with the WM6.5 800x480 emulator.

2. The problem seems to only appear on certain versions of Windows Mobile.  The HD2 worked fine with WM6.0, but WM6.3 and WM6.5 exhibit the problem.

3. On the HD2 with WM6.5 which shows the problem, LOGPIXELSX = LOGPIXELSY = 192, while SM_CYMENU = 19.  The value of 19 must be incorrect, and I'm curious what value was returned on WM6.0?

4. It looks as though the toolbar height may be set to the value of SM_CYMENU, which has long been known to return bogus values.  See:
http://www.eggheadcafe.com/forumarchives/pocketpcdeveloper/oct2005/post24149231.asp

5. I've verified I'm selecting the correct Toolbar resource which is created for 192 DPI.

6. Don't know if it matters, but the toolbar has both a Menu and a listbox in addition to 6 buttons.

7. Currently building the application  with the WM5 SDK, MFC, and VS2008.  HiRes aware.

Since I don’t own one of these devices, I’m a bit slow figuring out the fix, but will hopefully get it resolved within a few days.

Friday, January 22, 2010

Owner Information page missing on some HTC Devices?

Some HTC devices such as the Touch Diamond 2 don’t display the Start >> Settings >> Owner Information page by default, giving rise to the question: “How the heck do I register Pocket Stars”.


Fortunately, there’s a simple solution.  Just open your contacts list:

HTC_HD2_Owner_Information_02

Edit the “Me” entry:

HTC_HD2_Owner_Information_03

Here’s the official HTC description.

And if you still want to use the old version of the Owner Information page, here are some alternative methods to display the old page by either editing the registry or just by disabling TouchFlo.