I'm moving an application that I've been working on for pocket pc's to desktop pc's and this is my question:
In the ppc application I go back and forth between GDDISPMODE_ROTATE90CW and GDDISPMODE_NORMAL. On the desktop if I switch to GDDISPMODE_ROTATE90CW then my application turns sideways - which I understand is the correct behavior, but not what I'd like for the desktop. I'd like it to just change my window from 240x320 to 320x240. If I use MoveWindow(...) then I change the window dimensions, but then everything gets squished and stretched to fit those dimensions. Is there a way to get the sideways image displayed after doing a GDDISPMODE_ROTATE90CW and rotate it so that its displayed with the left side as the bottom and the coordinates work right still?
Does anyone have any suggestions on how to approach this?
Do I make sense?
In the ppc application I go back and forth between GDDISPMODE_ROTATE90CW and GDDISPMODE_NORMAL. On the desktop if I switch to GDDISPMODE_ROTATE90CW then my application turns sideways - which I understand is the correct behavior, but not what I'd like for the desktop. I'd like it to just change my window from 240x320 to 320x240. If I use MoveWindow(...) then I change the window dimensions, but then everything gets squished and stretched to fit those dimensions. Is there a way to get the sideways image displayed after doing a GDDISPMODE_ROTATE90CW and rotate it so that its displayed with the left side as the bottom and the coordinates work right still?
Does anyone have any suggestions on how to approach this?
Do I make sense?