FrmSetNavState() causes a (Sys 0505) on both the Tungsten C and T5.  Just 
noticed this in the documentation:

IMPORTANT Do not make HsNav calls on Tungsten T5 handhelds. HsNav calls made
on Tungsten T5 handhelds will fail, most likely with a Sys0505 error, which 
means
that the module that exports the function is not on the handheld.

Great, back to the drawing board...

"Jim McGowen" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I found the function FrmSetNavMode() which is what aI think I need but what 
>header do I need to include to get it?  I tried HsNav.h but get compile 
>errors about SYS_SEL_TRAP.
>
> "Ben Combee" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
>> At 08:56 PM 8/31/2005, you wrote:
>>>NavDirectionPressed works great for the TC but NavDirectionPressed( 
>>>event,
>>>Up ) and NavDirectionPressed( event, Down ) don't work for the T5.
>>>
>>>This DOES work on both:
>>>if( NavDirectionPressed( event, Up ) || event->data.keyUp.chr ==
>>>vchrPageUp )
>>>if( NavDirectionPressed( event, Down ) || event->data.keyUp.chr ==
>>>vchrPageDown )
>>
>> Read the comments in the header file -- you need to set your form into 
>> object interaction mode or up/down will just send pageUp/pageDown keys. 
>> This is also described in the palmOne development guide.
>>
>>>Something else strange... When I hit the select key, I get 2 key down
>>>events.  IsFiveWayNavEvent only works on the second one.  What's up with
>>>that?
>>
>> On the T5/Treo 650/onward, a press of the center button first sends 
>> vchrHardRockerCenter.  If this event is handled, nothing else happens, 
>> but if it isn't handled, the device waits to see if the button remains 
>> held, and if it does, it does an action like bringing up the alerts list 
>> or changing to the launcher.  Then the center is released, a 
>> vchrRockerCenter is sent.
>>
>> -- Ben Combee, Senior Software Engineer, Palm, Inc.
>>    "Combee on Palm OS" weblog: http://palmos.combee.net/
>>    Developer Forum Archives:   http://news.palmos.com/read/all_forums/
>>
>>
>
>
> 



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to