Barry
Thu Jul 20 10:35:43 CDT 2006
Press the calendar button on the emulator skin, and the display will toggle
between portrait and landscape. You can also switch using the PocketPC
Start / Settings, then go to the System tab and tap on the Screen icon.
Have you checked out this article?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/screen_orientation_awareness.asp.
It describes how to build an orientation-aware native-code application.
Barry
"Sri" <srinivasan222@gmail.com> wrote in message
news:1153398630.272538.289980@b28g2000cwb.googlegroups.com...
> Hi,
>
> I am creating an MFC application for pocket pc using eVC++ inVS2005.
> While testing the application in the emulator, there is a hardware
> button, which changes the layout of the emulator from portrait to
> landscape. How to handle this button click event?
> What is the best way to change the dialog size and controls size from
> portrait to landscape mode. Please help.
>
> Thanks
>