Hi,

I've got a hack that needs to display 2 custom forms, that are defined in
its own resource file. I need to go from wherever the user was when the hack
was invoked to my FormA (ID=2001), and then from my FormA to my FormB
(ID=2002).

In "How to Write a Hack", it says:

"HackMaster will trap frmLoadEvents with IDs in the range 2000-2999 and
perform the necessary setup for them. It will open the Hack's resource file
and call FrmInitForm for the form in question. It will also install the
'code' resource with the same ID as the event handler for that form using
FrmSetEventHandler."

Does that mean that I can just do a FrmGotoForm(FormA) (or FrmPopupForm) and
let it issue the frmLoadEvent? Or do I have to create an event and then use
EvtAddEventToQueue?

Which of these two do I have to do for a subsequent switch from FormA to
FormB?

Thanks!

Tom


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

Reply via email to