NewExternalView

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

The NewExternalView transaction places a copy of the document in the specified document window into an external document window.

Type XTYP_EXECUTE

Syntax [NewExternalView(docwinID, viewType, extDocwinID, flags)]

Parameter

Data type

Values

Meaning

docwinID

DWORD

docwinID

specific. See Remarks.

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)

extDocwinID

DWORD

identifier of the external document window, assigned by RegisterExternalWindow, in which to place the duplicate view

flags

WORD

0

do not display scroll bars

 

 

1

display the horizontal scroll bar

 

 

2

display the vertical scroll bar

 

 

3

display both scroll bars

Remarks

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

Release information

Added in Release 4.25.

Published in Release 5.0.

See also

Duplicating external document windows

Duplicating windows