Skip to content

MUI_Aboutmui

Thore Böckelmann edited this page Oct 11, 2021 · 4 revisions

Aboutmui.mui

Super class

Window.mui

Background

This class can be used to display a MUI about window in MUI applications. Add a "Project/About MUI..." menu item and make it do something like this:

if(aboutwin == NULL)
{
  aboutwin = AboutmuiObject,
    MUIA_Window_RefWindow, obj,
    MUIA_Aboutmui_Application, MyAppObject,
    End;
}

if(aboutwin != NULL)
  set(aboutwin, MUIA_Window_Open, TRUE);
else
  DisplayBeep(0);

You don't have to care about the window any longer, it will take care about closing itself and will get disposed when the application is removed.

Attributes

Attribute Version ISG Type
MUIA_Aboutmui_Application V11 I.. Object *

MUIA_Aboutmui_Application

NAME

MUIA_Aboutmui_Application -- V11 [I..], Object *, 0x80422523

FUNCTION

Inform the Aboutmui object about the application. If you don't specifiy this, Aboutmui class will just create a normal window object and will leave the responsibility about closing itself to the programmer.


Copyright © 1992-2006 by Stefan Stuntz
Copyright © 2006-2021 by Thore Böckelmann, Jens Maus
MUI for AmigaOS Homepage
MUI for AmigaOS Wiki
Updated: 11-Oct-2021
Clone this wiki locally