Brew MP 1.0.2
This is another implementation of a Static Dialog almost identical to that
The Static Dialog Widget is reference counted. When you are done with your
reference to the static dialog widget, you should Release it. Any specific
cleanup will be handled for you when all references are released.
,To create a static dialog, an application would do the following:,
,1. Call ISHELL_CreateInstance() with a class ID identifying the type of dialog to,be created.,AEECLSID_InfoDialog : To create a dialog that utilizes the info dialog theme,AEECLSID_ErrorDialog : To create a dialog that utilizes the error dialog theme,AEECLSID_WarnDialog : To create a dialog that utilizes the warning dialog theme,ISHELL_CreateInstance() will retrieve a reference counted instance of the appropriate,dialog form.,2. Set the dialog's FID_TEXT property to initialize the text to be displayed in the content,area of the dialog.,3. Set the dialog's FID_TITLE property to initialize the text to be displayed in the,dialog title widget.,4. If the dialog is to support softkeys, set the dialog's FID_SOFTKEY1 and FID_SOFTKEY2,properties to initialize the softkey text.,5. Call IForm_SetHandler() on the dialog to hook an event handler to process user actions.,