Name
SetDisplayAttributes -- modify display attributes (V6.0)
Synopsis
int error = SetDisplayAttributes(APTR handle, struct hwTagList *tags);
Function
This function is used by Hollywood to change certain attributes of your display. Hollywood will pass a tag list to this function. The following tags are currently defined:

HWDISPSATAG_USERCLOSE:
If 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.

Inputs
handle
display handle returned by OpenDisplay()
t
tag list containing additional attributes (see above)
Results
error
error code or 0 for success

Show TOC