See the 3.5 sdk:
\Examples\Datebook\Src\DateDB.c
ApptNewRecord at line 2684
and trace the calls it makes -- especially ApptPack -- and
the structures -- especially ApptDBRecordPtr (the "unpacked" one
from DateDB.h).
But, essentially, the answer to your question is yes,
as long as you put it in the correct place (DatebookDB
is kept sorted on date/time with repetitive appts at the start).
Of course, while the flexible "unpacked" form of an appointment
is fine for datebook (which needs to manipulate it a lot), if
you are creating simple (no repeat, no note, no alarm) appointments,
you could just create them "packed".
-bob mckenzie
<[EMAIL PROTECTED]>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ralf
Beckers
Sent: Sunday, September 10, 2000 3:17 AM
To: Palm Developer Forum
Subject: Adding Entries to the Calender
Hello,
how can I add entries to the standart calender app?
Just create a new structure and append it (where to get this structure)?
Or is there a more compatible way to do so (maybe one, which works on all
palm/handspring/... versions?
Thanks in advance,
bexxx
--
"Donuts - is there anything they can't do?"
Homer J Simpson
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/