Page 1 of 1

Changing orientation on-the-fly

PostPosted: Apr 18, 2006 @ 10:18am
by blaster
I have a problem with changing orientation in PPC 2003 SE devices. After changing from Portrait to lanscape, the PF soft updates only right part of screen, because it thinks screen width is 240!
How do I overcome this?
Thanks

PostPosted: Apr 18, 2006 @ 7:42pm
by Kzinti

Thanks

PostPosted: Apr 20, 2006 @ 11:20am
by blaster
I did try this and follow: http://pocketfrog.droneship.com/FAQ.html
but 1) no Display::Close() method; 2) if use m_display.reset(), then create display again it hangs. Create failed. What's wrong?
if(bWMode != m_bLandscape) {
if(m_pRedrawSurface)
delete m_pRedrawSurface;
m_pRedrawSurface = NULL;
m_display.reset();
InitDisplay();
m_bLandscape = bWMode;
m_bRedraw = true;
}

PostPosted: Apr 24, 2006 @ 4:28am
by blaster