Communicator UI: 4 FlashingNoteClass

Up: GEOS SDK TechDocs | Up | Down | Prev: 3 Convenient Dialog Routines | Next: 5 FoamProgressDialog

Sometimes, you may want to send a notification to a user without requiring the user to respond. Ideally, you would like a dialog box to appear on screen for a few seconds, and then go away, or automatically disappear once any key is pressed. You can get this behavior with a FlashingNoteClass object.

You can provide the following parameters to a Flashing Note object:

A Flashing Note should be placed as the root of an unattached tree within its own UI block (resource). In this manner, it will act as a template. To initiate the flashing note, call the routine PutUpDialogViaUIThread(), passing the optr of the dialog box template. This routine will copy the template resource, attach it to the application tree, and manage its thread of execution. The dialog will be run within the specific UI thread to avoid blocking the application thread.


Up: GEOS SDK TechDocs | Up | Down | Prev: 3 Convenient Dialog Routines | Next: 5 FoamProgressDialog