RE: GenValue dragging doesn't work

GWRepNate@aol.com
Mon, 2 Sep 1996 09:05:19 -0400

Hi Ed

Are you using the ATTR_GEN_VALUE_STATUS_MSG attribute in the GenValue? And
remember to define a message using the GEN_VALUE_STATUS_MSG prototype. Here
is how I would do it:

@class MyProcessClass, GenProcessClass;
@message (GEN_VALUE_STATUS_MSG)MSG_MY_PROCESS_VALUE_STATUS;
@message (GEN_VALUE_APPLY_MSG)MSG_MY_PROCESS_VALUE_APPLY;
@endc;

@object GenValueClass MyValue1 = {
GVLI_destination = process;
GVLI_applyMsg = MSG_MY_PROCESS_VALUE_APPLY;
ATTR_GEN_VALUE_STATUS_MSG = MSG_MY_PROCESS_VALUE_STATUS;
}

@method MyProcessClass, MSG_MY_PROCESS_VALUE_APPLY {
/* Handle setting of the value here. */
}

@method MyProcessClass, MSG_MY_PROCESS_VALUE_STATUS {
/* Handle changing of the value here. */
}

Nathan