Re: Custom Event

2008-05-29 Thread HowY
Thank-you Stuart I was trying to add my own custom event to event.h to no avail. You're help on the matter got me runnin' in a heartbeat. Sorry I didn't thank-you sooner but a HUGE thank-you is in order! You-Da-Man! -- For information on using the Palm Developer Forums, or to unsubscribe

Re: Custom Event

2008-05-29 Thread Dave Lippincott
EvtAddUniqueEventToQueue(newEvent,0,true); - Original Message - From: HowY [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Thursday, June 22, 2000 12:12 PM Subject: Custom Event Hi Im trying to generate a power on event to test aside from

Custom Event

2008-05-29 Thread HowY
Hi Im trying to generate a power on event to test aside from the nilEvent sent when the device is powered up How is a custom event(type) defined if i try to addEventToQueue (WakeUpEvent) ie: eventP-eType=WakeUpEvent; EvtAddEventToQueue (eventP); it complains

Re: Custom event

2005-03-05 Thread Paul Nevai
There is one major defect with custom events. Two or more applications and/or OS extensions may use the same custom event number. With virtual chars, companies, I guess with mucho money, could reserve certain virtual chars to themselves. To be honest, I use dozens of custom events and I have

Custom event

2005-03-04 Thread Frank LaRosa
Hi, I have a situation where I want a form to send an event to another form when it closes and ask it to perform an application-specific function. I was suprised that there is not an event type for app-specific events or events carrying app-specific pointers or data. We use this kind of thing

Re: Custom event

2005-03-04 Thread Neil Whitworth
You can create your own custom events. The following are defined in Event.h firstUserEvent = 0x6000, lastUserEvent = 0x7FFF In the data filed of an EventType there is a generic field. This is defined in SysEvent.h as :- struct _GenericEventType { UInt16 datum[8];

Re: Custom event

2005-03-04 Thread Ben Combee
At 02:33 AM 3/4/2005, you wrote: I have a situation where I want a form to send an event to another form when it closes and ask it to perform an application-specific function. I was suprised that there is not an event type for app-specific events or events carrying app-specific pointers or data.

Re: Custom event

2005-03-04 Thread Frank LaRosa
Thanks. You're right of course. Not sure how I missed that. Guess that's what I get for working in the middle of the night! Frank --- Ben Combee [EMAIL PROTECTED] wrote: There are custom events in Palm OS. Look in Event.h for firstUserEvent, lastUserEvent, and the generic union member in

help creating a custom event loop

2004-06-23 Thread rob_palmer
Hi all, New member with my first question. Can someone explain how to setup a custom event loop? I think I understand the general concepts, create a que, create functions for pointer initialization, adding events, consuming events, and cleaning up. It's the details i am a bit fuzzy

re: help creating a custom event loop

2004-06-23 Thread Dave Lasker
There are lots of details too numerous to mention that need to be handled. Best advice I can give you is to register as a developer with PalmSource, then download the OS source code and look at some examples, e.g. LstPopupList in file List.c. Dave -- For information on using the Palm Developer

Custom event loop in POL

2004-05-05 Thread Mark Chauvin
I have a program that needs to constantly monitor the serial port for data. My old version of the program, written in C w/ PRC-tools, redifined the EventLoop function, but now that I'm using POL and a derivation of the CPalmApp object, what's the right way to do this? Should I have a function

Re: Custom event loop in POL

2004-05-05 Thread Dave Lippincott
Does POL support the serial port callback? Instead of a tight loop, process the data as it arrives. - Original Message - From: Mark Chauvin [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 9:17 AM Subject: Custom event loop in POL I have

Re: Custom event loop in POL

2004-05-05 Thread Mark Chauvin
which is easy then (you cannot use SetWakeupHandler for bluetooth) - Original Message - From: Mark Chauvin [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 9:17 AM Subject: Custom event loop in POL I have a program that needs

Re: Combining Interupt Serial - custom event with Event queue (Timing Question)

2002-04-09 Thread Ben Combee
In article 83202@palm-dev-forum, [EMAIL PROTECTED] says... I have a interrupt driven serial input routine and want to have that place a custom event in the event queue. Has anybody timed how long in milliseconds the delay would be before my routine in a form handler would recieve

Re: Combining Interupt Serial - custom event with Event queue (Timing Question)

2002-04-09 Thread Clifford Jones
Combee [EMAIL PROTECTED] wrote in message news:83207@palm-dev-forum... In article 83202@palm-dev-forum, [EMAIL PROTECTED] says... I have a interrupt driven serial input routine and want to have that place a custom event in the event queue. Has anybody timed how long in milliseconds

Re: Combining Interupt Serial - custom event with Event queue (Timing Question)

2002-04-09 Thread Ben Combee
In article 83209@palm-dev-forum, [EMAIL PROTECTED] says... I was looking at the api and it looks like I could use a AddEventToQueue call to place an event in into the queue. Look at the description of EvtEnqueueKey -- this is the only event handling call that disables interrupts while it

Combining Interupt Serial - custom event with Event queue (Timing Question)

2002-04-08 Thread Clifford Jones
I have a interrupt driven serial input routine and want to have that place a custom event in the event queue. Has anybody timed how long in milliseconds the delay would be before my routine in a form handler would recieve the event? Does the event go on the queue and immedently go to the form

Custom Event??

2001-07-22 Thread Joe Siebenmann
event. Is there a way to use a custom event and put it on the event queue, and then test for: if ( event-eType == MyCustomEvent ) { ;; // Statements.. FrmGotoForm(YYYForm); handled = true; } Right now I'm getting into a situation where I do a test at the top of the XXXHandleEvent() proc

RE: Custom Event??

2001-07-22 Thread Richard Burmeister
From: Joe Siebenmann ... If the results are right I'll need to do a FrmGotoForm(YYYForm). The problem is if I do this in the wrong place, I could end-up eating some possibly important system event. Is there a way to use a custom event and put it on the event queue, and then ... I'm

Re: Custom Event

2000-06-27 Thread HowY
Thank-you Stuart I was trying to add my own custom event to event.h to no avail. You're help on the matter got me runnin' in a heartbeat. Sorry I didn't thank-you sooner but a HUGE thank-you is in order! You-Da-Man! -- For information on using the Palm Developer Forums, or to unsubscribe

Re: Custom Event

2000-06-22 Thread Dave Lippincott
EvtAddUniqueEventToQueue(newEvent,0,true); - Original Message - From: "HowY" [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: "Palm Developer Forum" [EMAIL PROTECTED] Sent: Thursday, June 22, 2000 12:12 PM Subject: Custom Event Hi Im trying to generate a power on event