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

What does the 'Change' button send out?



Q. What message does the "Change" button send out when it's activated?
   This is the button that shows up automatically in a GIT_PROPERTIES
   type GIV_DIALOG.

   I'm having trouble getting this type of screen of these to show up
   when it's the 1st screen displayed by the app, so I'd like to
   incorporate the change button on a GIT_ORGANIZATIONAL interaction
   first screen, and in a different spot (slot 1), and be able to
   interact with some GenItemGroups on this screen.

A. It sends MSG_GEN_GUP_INTERACTION(IC_CHANGE) up the GenTree, to be
   handled by the dialog object. It doesn't look like GenPrimaries
   handle it, only GIT_PROPERTIES dialogs.

   If your dialog is not a GIT_PROPERTIES, and you still want a CHANGE
   trigger, you'll need to explicitly define one in your UI tree, with
   ATTR_GEN_INTERACTION_COMMAND = IC_CHANGE. You need not supply a
   moniker - the standard one will be added by the spui.