NewView

image\bltlrgss.gif Editions  image\bltlrgss.gif Related Transactions image\bltlrgss.gif Example

The NewView transaction creates a new window that contains a copy of the same document that is displayed in the specified document window. This is not the same as opening a document twice. Instead, it displays the same document in two windows.

Type XTYP_EXECUTE or XTYP_REQUEST

Syntax [NewView(docwinID, viewType)]

Parameter

Data type

Values

Meaning

docwinID

DWORD

0 | docwinID

active | specific

viewType

BOOL

0

default view of document (as it appeared when it first opened)

 

 

1

duplicate view (same scaling, page, and so on as in docwinID). See Remarks.

Reply

Data type

Meaning

newDocwinID

DWORD

identifier of the new document window. See Remarks.

Remarks

When set to viewType 1, this transaction is the same as the DuplicateDocwin transaction.

Replies are only returned when this transaction is called as an XTYP_REQUEST.

This transaction does not work with external document windows.

Release information

Added in Release 4.10.

See also