Article # 196, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
How to hide objects from the user.
Here's a template for a "hidden group" object: @object GenInteractionClass MyHiddenGroup = { GI_comp =; GII_attrs = @default | GIA_NOT_USER_INITIATABLE; GII_visibility = GIV_DIALOG; } Any objects that are children of this hidden group will not be visible to the user. You could put dialogs under this object and then display them using MSG_GEN_INTERACTION_INITIATE or UserDoDialog. Be sure that any dialogs under the hidden group have a GII_visibility of GIV_DIALOG. If you forget to set this the dialog will not appear when you send the MSG_GEN_INTERACTION_INITIATE message. The hidden group should be a child of a visible object in the Gen tree, most likely the GenPrimary.