On Oct 8, 2006, at 3:38 AM, Jack Smith wrote:
I guess the only thing stumping me is exactly how getters and
setters are
formed. You said that they implement REALGetPropValue and
REALSetPropValue.
Does that simply mean a void method with one of these in it? Such
as...
void My_LeftGetter() {
REALGetPropValue((REALobject) ???, "Left", &value);
//not sure what the first parameter is
}
long My_LeftGetter(REALobject instance, long param)
{
long value;
if (REALGetPropValue(instance, "Left", &value))
return value;
}
void My_LeftSetter(REALobject instance, long param, long value)
{
if (REALSetPropValue(instance, "Left", value))
{
// we succeed with dynamic access
}
}
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>