Duplicating external document windows

 

You can place a copy of an image from an existing document window into an external document window. You can choose either duplicate or default view. This is not the same as opening a document twice. Instead, this displays the same document in two windows.

To create a copy of a window with its default view:

1. Create your own window. Pass its handle to IN_RegisterExternalWindow to get an external docwinID that corresponds to that handle.

2. Call the IN_NewExternalView function set to IN_VIEWTYPE_DEFAULT.

3. Call IN_HandleExternalWindow to tell Imagenation to take control of the display in the document window.

The external window displays the specified document as it appeared when it first opened: on page 1, with the default view settings.

To place a duplicate copy of a window into an external window:

1. Create your own window. Pass its handle to IN_RegisterExternalWindow to get an external docwinID that corresponds to that handle.

2. Call the IN_NewExternalView function set to IN_VIEWTYPE_ACTIVE.

3. Call IN_HandleExternalWindow to tell Imagenation to take control of the display in the document window.

The external window displays the image with the same page, scaling, rotation, inversion, mirroring, and position as the specified document window.

To request the number of document windows that contains a view of a document window, use IN_GetDocumentViewDocwins.

image\postit_shg.gif Note: External windows are not supported in Imagenation for UNIX.

See also

Duplicating windows

Opening documents into external windows