--- WBurt <[EMAIL PROTECTED]> wrote:
> > Have you investigated creating what you need using a gadget? It > > isn't quite as encapsulated, since the application has to make the > > call to specify its event handler, but it is the same basic idea... > > > > http://www.palmos.com/dev/support/docs/recipes/extended_gadgets.html > > has a walkthrough (aka recipe). > > > -David Fedor > > PalmSource, Inc > > I wasn't able to get that program working, I'm going to give it one > more try from scratch, if you like, I can post the error messages > here, but one of the main problems was with this line: > > //you need to cast pParam to an EventType* to use it > EventType* pToEvent = (EventType*) pParam; > The example will not work straight up I'm afraid. You first have to find what files to include in your program, and next you need to read all the documentation associated with it. I attempted to make a gadget myself, it's not nearly as easy as they indicate it is. In fact it took me a week to find all the information in the documentation. The documentation althought mostly complete is terse at best. So I suggest asking nicely someone for an example widget here. :D I can't give you mine because it was eaten by a now defunct hard disk. How typical of the life of a programer :) Stephen R. Phillips was here Please be advised what was said may be absolutely wrong, and hereby this disclaimer follows. I reserve the right to be wrong and admit it in front of the entire world. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
