int error = SetDisplayAttributes(APTR handle, struct hwTagList *tags);
HWDISPSATAG_USERCLOSE:
iData
is set to True
here, then you must not shut down Hollywood when
the user clicks on your display's close widget, i.e. your HandleEvents()
implementation should not return ERR_USERABORT
in that case. Instead, you should just
post an HWEVT_CLOSEDISPLAY
event and leave everything else to Hollywood.
This attribute is often set to True
in case the user listens to CloseWindow
events using InstallEventHandler()
to perform some custom action when
the window's close widget is pressed.