The
Fri Aug 19 00:35:15 CDT 2005
No.
i want to know the PHYSICAL location of the hardware soft-key buttons.
i want to know if they are at a location that assumes PORTRAIT screen
orientation (as default in most cases), or LANDSCAPE (i.e. soft-key buttons
are under the display when looking in LANDSCAPE orientation).
Basically I want to know the "prefered" orientation of the device, which
might not be Portrait.
I don't know if I am clear enough... apparently not?
"Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
news:uT69WnsoFHA.2080@TK2MSFTNGP14.phx.gbl...
> Right, but you are looking for the positioning of the keys relative to the
> *current* orientation
>
> --
> Alex Feinman
> ---
> Visit
http://www.opennetcf.org
> "The PocketTV Team" <support@pockettv.com> wrote in message
> news:%2386zOnqoFHA.3656@TK2MSFTNGP09.phx.gbl...
>> GXGetDefaultKeys does not allow you to determine the initial (default)
>> orientation that the screen has after a HARD reset.
>>
>> "Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
>> news:envnyspoFHA.3760@TK2MSFTNGP15.phx.gbl...
>>> Don't have a native landscape device, but does GAPI GXGetDefaultKeys
>>> work for you? If it does, it can be researched further
>>>
>>> --
>>> Alex Feinman
>>> ---
>>> Visit
http://www.opennetcf.org
>>> "The PocketTV Team" <support@pockettv.com> wrote in message
>>> news:Oe7U1yjoFHA.468@TK2MSFTNGP15.phx.gbl...
>>>> "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
>>>> news:%23XeUASjoFHA.3316@TK2MSFTNGP14.phx.gbl...
>>>>> Without having such a device to confirm on I can't be 100% sure but
>>>>> there are two registry values of interest
>>>>> under:-HKEY_LOCAL_MACHINE\System\GDI\Rotation
>>>>> The first LandscapeMode will indicate if the current screen dimensions
>>>>> are wider than they are tall.
>>>>> The second - Angle should give the angle from normal orientation. So
>>>>> for a landscape native device I would expect LandscapeMode to be 1
>>>>> when Angle was 0 (or 0 when Angle is 90 etc).
>>>>
>>>>
>>>> Angle is the current screen orientation, which can be changed by the
>>>> user, so it gives little information. The angle if from the NATIVE
>>>> PORTRAIT orientation, not from the default orientation of the device.
>>>>
>>>> So Angle is useless for determining if the default screen orientation
>>>> is Landscape.
>>>>
>>>> LandscapeMode is completely undocumented and apparently set to random
>>>> values depending on the devices (sometimes 0, sometimes 1), regardless
>>>> of their default or current screen orientation. Apparently
>>>> LandscapeMode was defined at one point but never actually
>>>> used/implemented by MSFT.
>>>>
>>>> So this does not seem to answer my question.
>>>>
>>>> BTW, the reason why I am looking for this info is simple: I want to
>>>> know the physical location of the hardware softkey buttons.
>>>>
>>>> On devices where Landscape is the default orientation, the softkey
>>>> buttons are under the display when it is in Landscape orientation, and
>>>> on devices where Portrait is the default orientation, the softkey
>>>> buttons are under the display when it is in Portrait orientation.
>>>>
>>>> And I want to know that.
>>>>
>>>>> --
>>>>> Peter Foot
>>>>> Windows Embedded MVP
>>>>>
http://www.inthehand.com |
http://www.peterfoot.net |
>>>>>
http://www.opennetcf.org
>>>>>
>>>>> "The PocketTV Team" <support@pockettv.com> wrote in message
>>>>> news:O6kLN2foFHA.2180@TK2MSFTNGP15.phx.gbl...
>>>>>> Hi,
>>>>>>
>>>>>> New WM5 Pocket PC's will have 2 soft-keys, under the display, mapped
>>>>>> to the functions displayed in the blue bar at the bottom of the
>>>>>> display.
>>>>>>
>>>>>> Most Pocket PC's will use the Portrait as their Native orientation,
>>>>>> i.e. the 2 soft-keys will be under the display when in Portrait
>>>>>> orientation.
>>>>>>
>>>>>> But from what I heard, some Pocket PC's will use the Landscape as
>>>>>> their Native orientation, in which case the 2 soft-keys will be under
>>>>>> the display when in Landscape orientation (not in Portrait).
>>>>>>
>>>>>> How can I determine if a Pocket PC uses Landscape for its native
>>>>>> screen orientation?
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>