Yeah, it is difficult, you just have to trawl through everything available:
docs, source files, example files, the net, forums etc.
This is how i create/add my own events, the 0x500 is a value picked out of
the air, you need to make sure the events you are creating don't have the
same value as other custom events (eg used in somone elses library). Feel
free to correct me on a any of this anyone!
typedef enum tagMyEvents
{
Event1= firstUserEvent + 0x500,
Event2,
Event3
} MyEvents;
// declare EventType variable
EventType event;
MemSet(&event, sizeof(EventType), 0);
*(IntPtr)&event.eType = Event1;
event.data.generic.data1 = some_data;
EvtAddEventToQueue(&event);
Richard Anderson <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Ive sussed it out so dont worry.
>
> I used DbgMessage.
>
> Does anyone else think that it is very difficult to find stuff in the Palm
> Docs - I sussed this out from the header files. There a millions of docs,
> yet everytime I want to find something other that obvoius stuff, I cant.
I
> still havent found out how you should create your own events, Ive done it
> but Im sure its not how its meant to be done.
>
>
> > -----Original Message-----
> > From: Richard Anderson [SMTP:[EMAIL PROTECTED]
> > Sent: 26 July 2000 13:53
> > To: Palm Developer Forum
> > Subject: Outputting debug strings to Log window
> >
> > I read somewhere that you can output debug strings using a "debug
printf"
> > to
> > the log window, yet I cannot find any documentation to show me how to do
> > this. Anyone know how to do it.
> >
> > Thanks
> >
> > Rik Anderson
> >
> > --
> > 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 ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/