Bringing up a dialog

To join a caucus from this program's user interface, the user clicks on the Join button in the main view which brings up a dialog. The creation of the dialog involves creating a TChatGUIDialogController (which is a subclass of TGUIDialogController), adopting a view into this controller, and having the presenter adopt this controller into the presentation to display the dialog.


Joining a caucus

When the user clicks on the Join button in the dialog, this program calls the TChatGUIDialogController::HandleAccept which attempts to join the specified caucus. If the caucus does not exist, the Caucus framework attempts to create it before adding a new member. The object interactions in the next figure illustrate a caucus that is successfully created and joined by a user.



[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker