Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

GetDefaultPubScreen

Get name of default public screen.

Declaration

Source position: intuition.pas line 3556

procedure GetDefaultPubScreen(

  NameBuffer: PChar

);

Arguments

NameBuffer

  

A buffer of MAXPUBSCREENNAME. This can be nil.

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: 2021-07-30