#Public Screens
Re: Public Screens
Can someone give me a brief run-down of how to open a public screen? The
docs seem to be inconsistent/illogical about this.
The RKM/Libraries on page 53 says that I should declare a screen public
in the OpenScreenTagList() call by specifying a public name string with
the SA_PublicName tag.
However, if I do this, the screen's font becomes the same as Workbench's,
but if I omit the tag, the screen font is OK.
The RKM goes on to say that: "when a new public screen is opened, it
starts out private… Use the PubScreenStatus() function to make the
screen public…" But the docs for this function only define the one
flag value, PSNF_PRIVATE, and the text only talks about making the screen
private, not public.
The function call PubScreenStatus(screen, 0L) returns the value 1 – and
the docs don't say what this means, only saying that a return value of 0
indicates a failure to make the screen private.
Regards,
Shraddhan (via AP from Hertfordshire, England)