IN_OpenDocumentWindow

All Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_OpenDocumentWindow function opens a new document window containing the specified file.

Syntax

int IN_OpenDocumentWindow( location, pFilename, maxDocwins, pDocwinCount, pDocwinIDs )

Input Parameters

Values

Meaning

SHORT location

IN_LOCN_DISK (0)

the file is located on a disk

CHARPTR pFilename

file name and path of the document to place in the document window

SHORT maxDocwins

the maximum number of open document windows to return

Output Parameters

Meaning

SHORTPTR pDocwinCount

pointer to the number of open document windows. See Remarks.

IN_DOCWIN_PTR pDocwinIDs

pointer to the array that contains the open document window identifiers

Remarks

The pDocwinCount will be 1 unless a Spicer Set (*.ls) containing more than one document is opened. A maximum of 100 windows can be opened at once.

Release information

Added to Imagenation for Windows in Release 4.00.

As of Release 5.1, also available in Imagenation for UNIX.

Also supported in Imagenation 3.3 for UNIX.

See also

Opening documents: basic

Opening documents: alternatives