[gme-users] addon creation
Akos Ledeczi
akos.ledeczi at vanderbilt.edu
Fri Sep 8 15:25:32 CDT 2006
Matt,
I am pretty sure that your addon will get called again. But if you
remember the aatr value the code set and compare it to the value you get
and then do nothing if they agree, you break free from the recursion...
Or am I missing something?
Akos
Matthew J. Emerson wrote:
> Thanks Zoli.
>
>
>
> Which one of those events covers the case where a reference is cleared
> (set to null) or redirected (pointed toward another object)?
>
>
>
> Also, suppose I wanted to capture the event where an attribute of an
> object is changed, and my response to that event is to further change
> the value of that same attribute in a different way. Is there some way
> to prevent the attribute change done in my Addon from spawning a new
> event and getting into an infinite recursion situation?
>
>
>
> Thanks,
>
> Matt
>
>
>
> ------------------------------------------------------------------------
>
> *From:* gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] *On Behalf Of
> *Zoltan Molnar
> *Sent:* Friday, September 08, 2006 1:54 PM
> *To:* gme-users
> *Subject:* RE: [gme-users] addon creation
>
>
>
> Check out the objectevent_enum typedef
>
>
>
> in gme\interfaces\mga.idl or
>
>
>
> ComponentLib.h in your component's directory.
>
>
>
> Zoli
>
> -----Original Message-----
> *From:* gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] *On Behalf Of
> *Matthew J. Emerson
> *Sent:* Friday, September 08, 2006 1:50 PM
> *To:* gme-users
> *Subject:* [gme-users] addon creation
>
> I’m trying to create a GME AddOn using BON2. The method where my
> implementation goes has this signature:
>
>
>
> void Component::objectEventPerformed( Object& object, unsigned long
> event, VARIANT v )
>
>
>
> How can I find out what the semantics of the different values of
> event and variant are to screen for particular events?
>
>
>
> Thanks,
> Matt
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
More information about the gme-users
mailing list