PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Smartphone QVGA resolution

Hi, i've just bought a new smartphone (SPV c600) And I can't manage to compile something using :
Code:
config.dwDisplayMode = GDDISPMODE_ROTATE90CCW;


The line :
Code:

config.dwDisplayFlags |= GDDISPLAY_HI_RES_AWARE; // Enable VGA resolution

seems to be the probleme. If I comment this line, the screen is rotated, but the resolution is 176*220. With this line un commented, the resolution is good (240*320) but the screen is not rotated :)

How to do that ?
auto reply :)

sounds like a bug ?

I can't initialize the resolution BEFORE creating the GAPIDRAW object. But a simple :
Code:
pMyApp->SetDisplayMode(GDDISPMODE_ROTATE90CW);


works well to rotate my qvga screen :P
InexorableTash · 11 Apr 2006, 05:23 UTC
No solution but a similar problem - at least on the emulator.

When I convert the Simple eVC4 project to a VS 2005 project, compile and deploy to the new Pocket PC 2003 SE Emulator, everything is fine. But if I start off with the emulator already rotated to Landscape the display is "funky" - on the (now) 320x240 screen, you see a 240x320 display on the left edge - and the bottom of the display wraps around to the top.

I noticed a similar issue over on the Edge forum. Since you can't specify a window size on the device, it sounds like a GapiDraw issue that would need to be fixed. However, given how long 2003 SE has been out, surely someone has run into this before.