|
IDL Reference Guide: iTools Object Classes |
|
The IDLitUI::RegisterUIService function method registers a user interface service with the user interface. Once the user interface service has been registered, the iTool with which the user interface is associated can call the UI service to display dialogs or other UI elements.
| Note Every UI service must implement a callback function that displays the requested user interface. See Creating a User Interface Service for details. |
Restult = Obj->[IDLitUI::]RegisterUIService(Name, Callback)
Returns an iTool object identifier for the UI service specified by Name.
A string containing the human readable name of the user interface being registered.
A string containing the name of the callback function for this UI service. The callback function is called when execution of the UI service is requested. The callback should have the following calling signature:
FUNCTION NAME, oUI, oTarget
where:
None
IDL Online Help (March 06, 2007)