NewPublisherDialog
NewPublisherDialog Display new publisher dialog
#include <Editions.h> Edition Manager
NewSubscriberReply *reply ; contains the new publisher reply record.
returns Error Code; 0=no error
The NewPublisherDialog function (which is based on the CustomPutFile
procedure described in the Standard File Package) switches to the volume
reference number and directory ID and sets the text edit field to the filename of
the edition container that you passed in. Set the fileName field of the file
system specification record to be the default name of the edition file. (The new
publisher reply record includes a container field for an edition container
specification record, and the edition container specification record includes a
field [theFile] for a file system specification record.)
* reply contains the new publisher reply record..(See below).
Returns: an operating system Error Code.
noErr (0) No error
badSubPartErr (-454) Bad edition container spec
editionMgrInitErr (-450) Manager not initialized

Notes: Pass the information from the GetLastEditionContainerUsed function
to the NewPublisherDialog function.
The usePart field must be set to FALSE before calling the
NewPublisherDialog function.
Set the preview field to be a handle to 'prvw', 'PICT', 'TEXT', or 'snd ' data. Set
the previewFormat field to indicate which type of data the handle references.
Upon return of the NewPublisherDialog function, the canceled and
replacing fields are set. If the canceled field is set to TRUE, the user canceled
the dialog box. If the replacing field is TRUE, the user chose an existing
filename from the list of available editions and confirmed this re placement. If
the replacing field is TRUE, do not call the CreateEditionContainerFile
function, which creates a new edition container. The container field contains
the volume reference number, directory ID, and filename for the edition that
the user selected.
You should deallocate the handle referenced by the preview field to free up
memory.