Article # 393, added by Geoworks, historical record
| first | previous | index | next | last |

What does MSG_GEN_ITEM_GROUP_SET_MODIFIED_STATE do exactly?



Q. I would like clarification on what MSG_GEN_ITEM_GROUP_SET_MODIFIED_STATE
   actually does. My impression is that setting this to TRUE would cause
   the GIGI_applyMsg to get sent out the next time the group gets an apply
   message. Is this true?  Does this cause the STATUS message (if any set)
   to go out as well (I believe not).

A. MSG_GEN_ITEM_GROUP_SET_MODIFIED_STATE:
   Items are normally marked as "not modified" anytime their state is
   set, marked "modified" anytime the user interacts with them, and marked
   "not modified" again on MSG_APPLY. This primitive provides a way to
   control the modified status outside of these events. Items can be
   operated on via this message, even if they are not usable, not enabled,
   or not represented by a GenItem in the GenItemGroup (useful for linked
   GenItemGroups).