I've got an application where a single dialog is populated
with different data for a number of different steps in a
process.  The desktop version of this application provides
a way to view a short help message associated with each
step.  The customer wants me to display the same help
message in the handheld version when the user taps the (i)
character at the top of the dialog.

>From the 3.0 source, I find there is no event associated
with tapping the (i).  Instead the form code appears to
trap the pen events and directly calls FrmHelp().  I'll do
something similar in my application to satisfy the customer
but I'm wondering if it would be more consistent with other
Palm OS behavior for the penUp event to generate a
keyDownEvent with a new virtual key character (perhaps
vchrHelp).  Perhaps a new event type with the help resource
id in the data fields would be better?  The default
handling of the event would need to be moved to
FrmHandleEvent() (I think) in either case.

This would keep current behavior intact (again, I think)
and would affect performance minimally (one added event
cycle).  It would allow developers to customize the
selection of the help resource id or to handle the event
entirely on their own.  This could be used to provide
context sensitive tips or hooks into a more robust help
system.

Just a thought.  In the mean time, I'm off to trap pen
events in the upper right corner of the form :)

-- Paul
___________________________________________________________
Paul A. Dugas, Computer Engineer     Dugas Enterprises, LLC
mailto:[EMAIL PROTECTED]              1711 Indian Ridge Drive
tel:404-932-1355                   Woodstock, GA 30189-6856
fax:770-516-4841                    http://pauld.dugas.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to