Get name of default public screen.
Source position: intuition.pas line 3284
function GetDefaultPubScreen( |
NameBuffer: PChar |
):PScreen; |
NameBuffer |
|
A buffer of MAXPUBSCREENNAME. This can be nil. |
None. Will provide the string "Workbench" in Namebuff if there is no current default public screen.
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.
|
Choose a new default public screen. |
|
|
Open an Intuition window. |