ITT Rule IDL Version 7.0 User Manual Page 42

  • Download
  • Add to my manuals
  • Print
  • Page
    / 430
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 41
42 Chapter 2: iTool System Architecture
iTool Messaging System iTool Developers Guide
The IdOriginator argument is generally the object identifier of an iTool component
object, but it can be any string value.
Notification Messages
The value of the IdMessage argument to the DoOnNotify method is a string value
that must uniquely identify the message being sent. iTool components and callback
routines that process notification messages use the value of the IdMessage string to
determine what action to take when a message arrives from an observed component.
When you call the DoOnNotify method yourself, use caution in choosing the value of
the IdMessage string. If the string you choose conflicts with a message being sent by
another iTool component, the message-handling routines may be activated at the
wrong time.
Standard iTool Messages
The following is a list of notification messages sent by components that are part of
the standard iTool distribution:
Message String Meaning
SELECTED
UNSELECTED
The selection state of an item being watched has
changed. Val ue contains the object identifier of the
component whose selection changed.
SELECTIONCHANGED The selected item within the current iTool changed.
Value contains an empty string.
ADDITEMS
MOVEITEMS
REMOVEITEMS
A call to the Add, Move, or Remove method of an
IDLitContainer that supports the IDLitIMessaging
interface was made. Va l ue contains the object
identifier of the item that was added, moved, or
removed.
SETPROPERTY The value of a property has been changed on a
component. If a single property was changed, Value
contains the identifier of the property that changed. If
multiple properties were changed, Valu e contains a
null string.
Table 2-1: Standard iTool Messages
Page view 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 429 430

Comments to this Manuals

No comments