"Kerry W. Podolsky" wrote:
> I'm playing with CW5 and have just created my first app.
Welcome to the club!
> Compiles fine, even actually runs on the Palm without crashing (that
> in itself is amazing).
Get used to it, this isn't Windows. :-)
> The boilerplate that CW generates, gives you a Menu with an About menu > item. It
>also generates code for the event that looks like:
> AbtShowAbout(appFileCreator);
It shouldn't use AbtShowAbout. Note the dialog contains logo and
copyright information for 3Com so it doesn't make sense for a non-3Com
application. (You'll get used to this sort of thing too...)
If you don't already have "Palm Programming: The Developer's Guide" by
Neil Rhodes, get it ASAP. Page 188 says the AbtShowAbout function isn't
appropriate for non-3Com apps because of its contents. The book then
gives help on creating your own custom About box.
> Where can I find documentation on AbtShowAbout
Eh? AbtShowAbout is "documented" in SDK 3.0 reference volume 1 -- but
I'll suggest to 3Com that they undocument it for 3.1 since it's not
useful for real world applications.
(But I must confess -- there >is< a hacky way to make AbtShowAbout use
your own custom dialog resource, but I'll keep it to myself to avoid a
rightful scolding from certain cool dudes at 3Com. :-)
> (or even appFileCreator)?
That's just a #define at the top of your own code. You should set up
the IDE with symbol browsing turned on, so you can just click the mouse
on any unfamiliar symbol like that and jump to its declaration.
-slj-