ptrUI::MSG_VD_CLOSE( GeodeGetCodeProcessHandle(), VCS_CLOSED );
}
</PRE>

<H3>Supporting Other Document UI</H3>

<P>Not all document-manipulation requests need come in via the four 
   entry points described above.  For example, you might want to add 
   a "Close" trigger to the document display dialog.  Pressing the 
   button corresponding to this trigger might result in closing the 
   document and discarding the document display UI.  The following 
   code snippet shows how your program might handle a C