IN_NewExternalView

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

The IN_NewExternalView function places a duplicate view of the document in the specified document window into an external document window.

Syntax

int IN_NewExternalView( docwinID, viewType, extDocwinID, flags )

Parameters

Values

Meaning

IN_DOCWIN docwinID

0 | docwinID

active | specific

SHORT viewType

IN_VIEWTYPE_DEFAULT (0) default view. The window appears as it did when it first opened.

IN_VIEWTYPE_ACTIVE (1) duplicate view. The window appears with the same page, scaling, rotation, inversion, mirroring, and position as the original document.

IN_DOCWIN extDocwinID

identifier of the external document window, assigned by IN_RegisterExternalWindow, in which to place the duplicate view. See Remarks.

USHORT flags

IN_FLAG_SCROLLBAR_NONE (0)
do not display scroll bars

IN_FLAG_SCROLLBAR_HORZ (1)
display the horizontal scroll bar

IN_FLAG_SCROLLBAR_VERT (2)
display the vertical scroll bar

IN_FLAG_SCROLLBAR_BOTH (3)
display both scroll bars

Remarks

You must use a specific ID when you issue commands to external document windows, even if you are referring to the active window.

Release information

Added to Imagenation for Windows in Release 4.21.

Not supported in Imagenation for UNIX.

See also

Duplicating external document windows

Duplicating windows