be a <STRONG>ViewerDialog</STRONG> object. Because it's an easy way 
   to take care of some VILFile library duties, libraries often use 
   a subclass of <STRONG>ViewerDialogClass</STRONG>.</P>

<P>Typically, the VILFile library creates the document display gadgetry by 
   making a copy of a template UI resource.  This 
   resource should be marked as <CODE>read-only</CODE> and <CODE>shared</CODE>
   in the GP file. It should be declared <CODE>notDetachable</CODE>.

<P>When it comes time to discard the UI,