[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Intuition' (#aros)

GetDefaultPubScreen

Get name of default public screen.

Declaration

Source position: intuition.pas line 3284

function GetDefaultPubScreen(

  NameBuffer: PChar

):PScreen;

Arguments

NameBuffer

  

A buffer of MAXPUBSCREENNAME. This can be nil.

Function result

None. Will provide the string "Workbench" in Namebuff if there is no current default public screen.

Description

Provides the name of the current default public screen. Only anticipated use is for Public Screen Manager utilities, since it is easy to open a visitor window on the default public screen without specifying the name.

Note:

Only Public Screen Manager utilities want to use this function since it is easy to open a window on the default public screen without specifying a name.

Also note that if there no default public screen has been set, the return value of this function will be zero, and not a pointer to the Workbench screen.

See also

SetDefaultPubScreen

  

Choose a new default public screen.

OpenWindow

  

Open an Intuition window.


Documentation generated on: 2017-01-10