Re: Screen orientation (left/right handed landscape)
From: Charles Schweizer [MSFT] (cschweiz_at_online.microsoft.com)
Date: 10/15/04
- Next message: EMW: "objectlist and details"
- Previous message: John Cody: "Re: REWARD: chr() not working for Chinese "Locale""
- In reply to: dave: "Screen orientation (left/right handed landscape)"
- Next in thread: James Pratt: "Re: Screen orientation (left/right handed landscape)"
- Reply: James Pratt: "Re: Screen orientation (left/right handed landscape)"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 15 Oct 2004 13:20:10 -0700
I believe the touch screen driver would normally handle this for you. There
may be an issue with the emulator's mouse driver. Left- versus right-handed
orientation should be transparent to the application.
-- This posting is provided "AS IS" with no warranties, and confers no rights. Charles Schweizer [MSFT] cschweiz@online.microsoft.com Remove "online" if you're not an e-mail harvester... ----------------------------- "dave" <dave@parystec.demon.co.uk> wrote in message news:ckoltm$2f5$1$8302bc10@news.demon.co.uk... > Hi all, > > I have followed the MS information on how to use the > new VGA mode and portrait/landscape orientation in > a GAPI environment using the "extEscape" method and > GetSystemMetrics in C++ but I can't seem to find any > way of telling whether the user is in left-handed or > right-handed landscape mode on a PPC which has this > choice (or at least on the emlator) - how do I do this ? > (I'm getting the mouse coords backwards at the moment > when in left-handed landscape mode but graphically the > screen is as I want it and the arrow buttons are working > as I want them but I need to know when to reverse the > mouse coords ie. when is screen left-handed landscape). > All I can think of is using the system to set a pixel and > then testing if it's setting the correct pixel in the raw frame > buffer but that seems a little naff. > > Any help much appreciated. > > Dave (Parys Technografx) > >
- Next message: EMW: "objectlist and details"
- Previous message: John Cody: "Re: REWARD: chr() not working for Chinese "Locale""
- In reply to: dave: "Screen orientation (left/right handed landscape)"
- Next in thread: James Pratt: "Re: Screen orientation (left/right handed landscape)"
- Reply: James Pratt: "Re: Screen orientation (left/right handed landscape)"
- Messages sorted by: [ date ] [ thread ]