Unit 'Intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

OpenScreen

Open an Intuition screen

Declaration

Source position: intuition.pas line 3220

function OpenScreen(

  NewScreen: PNewScreen

):PScreen;

Arguments

NewScreen

  

A pointer to an instance of a NewScreen structure.

Function result

If all is well, returns the pointer to your new screen If anything goes wrong, returns nil, with further error specification in the variable pointed to by the SA_ErrorCode data field.

Description

Opens an Intuition screen according to the specified parameters found in the TNewScreen structure.

Does all the allocations, sets up the screen structure and all substructures completely, and links this screen's viewport into Intuition's View structure.

Before you call OpenScreen(), you must initialize an instance of a NewScreen structure. TNewScreen is a structure that contains all of the arguments needed to open a screen. The TNewScreen structure may be discarded immediately after OpenScreen() returns.

The SHOWTITLE flag is set to True by default when a screen is opened. To change this, you must call the routine ShowTitle().

See also

OpenScreenTagList

  

OpenScreen() with TagItem extension array.

OpenWindow

  

Open an Intuition window.

PrintIText

  

Print text described by the IntuiText argument.

CloseScreen

  

Close an Intuition screen.

QueryOverscan

  

Inquire about a standard overscan region.

PubScreenStatus

  

Change status flags for a public screen.

ModeNotAvailable

  

Check to see if a DisplayID isn't available.

OpenDiskFont

  

GetColorMap

  

Allocate and initialize Colormap


Documentation generated on: 2021-07-30