Changing orientation on-the-fly

Posted:
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
Thanks

Posted:
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;
}