Yes thanks for that.. I know that.. But once set i want to be able to capture the event and make it go to my own form rather then the Tips form it goes to by default.. I've tried stepping through the code, but i can't see what event it triggers when you click the icon in the top right hand side.
What event does it send. its not a menu event or a form event.
This is a case where you really want to get seeding access at palmsource.com and look at the OS 3.5 or 4.0 source code to see what happens.
For an alert, you won't have much luck, since it runs with its own event loop. For forms with their own event loop, you need to check for a penDownEvent that occurs in the area at the top-left of the form where the help icon is shown. The OS code just looks for a penDown event in that rectangle, and then does a variant of its button handling code, tracking the pen until it's lifted. If it's still in the rectangle, FrmHelp is called. Unfortunately, there's no hook in the form code -- no "frmHelp" event is sent, this is all handled inside FrmHandleEvent.
To compute the rectangle for the help icon, use the formula
topLeft = (width - 12, 0) extent = (10, 10)
The character for the icon is drawn from the symbol font.
-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
