| Pierre,
I'm not quite following you here. If I read this correctly, you
are acknowledging a event (within the Mutli-Line Window for example)
and the preprocessor doesn't get a chance to process it? I can
check the code to see if these kinds of events are not passed.
Regs,
Dan
|
| Pierre,
As I expected, there is no special case for acknowledged events. They
will be passed on to the preprocessor assuming you are using the
CMUserAcknowlegeEvent routine. The code will call the internal routine
to send the event to ENS just as the controller daemons do. The only real
difference in an event and an acknowleged event is that the event type is
set to CMEventTypeAck. Use the following 'C" macro to look at the type:
CMEventType(event)
to see if it's equal to CMEventTypeAck. The macro and CMEventTypeAck
are defined in console.h. I would also suggest putting in some
debugging code that can be turned on an off. Whenever I write an action
or preprocessor I create a logical name and then use the 'C' RTL
routine "getenv" to interrogate it. yes, getenv will look for a logical
name as well as a symbol so you don't have to code up a call to the
$TRNLNM service yourself.
Regs,
Dan
Regs,
Dan
|