Hi

I have an ActiveX component which generates an event when e.g. the user dbl.
clicks on a row (similar to a ListView), in this ActiveX that means
"acknowlede alarm". I would like to evaluate this action before it's
actually executed and cancel it if some conditions is not meet.

Do you have any "cancel" function which could be appropriate to cancel the
event?

regards
Henry

Re: How to cancel an event (in the event) by Nic

Nic
Mon May 30 17:59:44 CDT 2005

> Do you have any "cancel" function which could be appropriate to cancel the
> event?

With DHTML yes.

The event is being evoked by the ActiveX though...

Try a ByRef param in your event method for cancelling the event.


Nic Roche

"henry" <nom@il.please> wrote in message
news:e34ILXPZFHA.3840@tk2msftngp13.phx.gbl...
> Hi
>
> I have an ActiveX component which generates an event when e.g. the user
> dbl. clicks on a row (similar to a ListView), in this ActiveX that means
> "acknowlede alarm". I would like to evaluate this action before it's
> actually executed and cancel it if some conditions is not meet.
>
> Do you have any "cancel" function which could be appropriate to cancel the
> event?
>
> regards
> Henry
>