
Chapter 11: iTool User Interface Architecture 283
iTool Developer’s Guide User Interface Objects
Widget Registration Methods
The IDLitUI::RegisterWidget and IDLitUI::UnRegisterWidget methods allow user
interface code to register (and unregister) widget callback routines as the target of
OnNotify messages. Registration allows the user interface to receive messages
generated by iTool components and to react accordingly.
Widget registration is discussed in detail in Chapter 14, “Creating a User Interface
Panel”.
AddOnNotifyObserver Method
The IDLitUI::AddOnNotifyObserver method allows user interface code to register to
receive messages sent via calls to the OnNotify methods of iTool components. This
mechanism allows the user interface to change in response to changes in the
underlying iTool.
Use of the iTool messaging system is discussed in detail in Chapter 14, “Creating a
User Interface Panel”.
DoAction Method
The IDLitUI::DoAction method makes it possible for a user interface element to
launch execution of an operation within the underlying iTool.
Use of the DoAction method to initiate execution of operations is discussed in
Chapter 13, “Creating a User Interface Service”.