GEOS SDK TechDocs
|
|
|
3 GenClass Basics
|
5 Generic Trees
Instance data need not be set solely within your
.goc
file. You may also retrieve or alter this data dynamically with messages in
GenClass
. The following section details messages to modify the
GI_visMoniker
,
GI_kbdAccelerator
,
GI_attrs
and
GI_states
instance fields. This section also details ways of using the variable data object routines and messages to modify a generic object's vardata.
Remember that when accessing and modifying instance data, you may need to dereference the pointer to the object's instance data if the location of that instance data may have changed. This pointer (
pself
) is automatically set up correctly inside a method upon receipt of the corresponding message. If you perform actions within that method that may move the object, you can use
ObjDerefGen
() to dereference
pself
again.
If the instance fields you wish to modify are related to generic tree mechanisms (
GI_comp
and
GI_link
), see Special Message Passing
.
Managing Keyboard Accelerators
GEOS SDK TechDocs
|
|
|
3 GenClass Basics
|
5 Generic Trees