home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 18 / amigaformatcd18.iso / mui / mui_developer / autodocs / mui_aboutmui.doc next >
Text File  |  1997-03-10  |  949b  |  37 lines

  1. TABLE OF CONTENTS
  2.  
  3. Aboutmui.mui/Aboutmui.mui
  4. Aboutmui.mui/MUIA_Aboutmui_Application
  5. Aboutmui.mui/Aboutmui.mui
  6.  
  7.     This class can be used to display a MUI about window
  8.     in MUI applications. Add a "Project/About MUI..." menu
  9.     item and make it do something like this:
  10.  
  11.     if (!aboutwin)
  12.     {
  13.         aboutwin = AboutmuiObject,
  14.             MUIA_Window_RefWindow, obj,
  15.             MUIA_Aboutmui_Application, MyAppObject,
  16.             End;
  17.     }
  18.  
  19.     if (aboutwin)
  20.         set(aboutwin,MUIA_Window_Open,TRUE);
  21.     else
  22.         DisplayBeep(0);
  23.  
  24.     You don't have to care about the window any longer, it
  25.     will take care about closing itself and will get disposed
  26.     when the application is removed.
  27. Aboutmui.mui/MUIA_Aboutmui_Application
  28.  
  29.     NAME
  30.     MUIA_Aboutmui_Application -- (V11) [I..], Object *
  31.  
  32.     FUNCTION
  33.     Inform the Aboutmui object of the application. If you don't 
  34.     specifiy this, Aboutmui will just create a normal window 
  35.     object and will leave the responsibility about closing itself 
  36.     to the programmer.
  37.