by mimispa » Jul 11, 2007 @ 11:07am
Hi Edge,
Yesterday, I had the device only for 30 minutes and i didn't have time to test older versions (2002,2003), but i had time to test 2005 version of helloworld.
In that version the graphics are in portrait mode, but stylus is in landscape mode. I examine the code and i saw that helloworld use config->resolution = ERS_EMULATELOWRES, so i change that setting in my application. Then i run my application again and i saw a very strange thing. The stylus is in landscape mode and all graphics are in portrait mode, except some gradient graphics (created from GradientRectV function) that are in landscape mode. The question is why GradientRectV function draw with landscape coordinates and other graphic functions draw in Portrait mode? (Maybe i help you with that!)
So, the results with 2005 PocketPC SDK now are:
using ERS_EMULATELOWRES
Graphics-> Portrait Mode (except GradientRectV)
Stylus-> Landscape Mode
using ERS_DEVICEDEFAULT
Graphics-> Landscape Mode
Stylus-> Portrait Mode
I'll have the device today for a couple of hours and i'll test the older versions of helloworld.
I saw that some POCKETPC devices have the ability to change the screen mode (PORTRAIT, LANDSCAPE etc). The first device i test with that ability is IPAQ TRAVEL COMPANION RX5700 PocketPC 2005. My worry is do we have that problem in all pocketpc 2005 with that ability, or that problem is in the specific model?
I'll show you the results of older versions.
Thanks for your help!