GetExtDocumentWindowMode

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

Use the GetExtDocumentWindowMode transaction to find out which of five actions Imagenation is allowed to take in the specified external document window. Before using this transaction, you must register the window with RegisterExternalWindow, and then initialize it with HandleExternalWindow.

Type XTYP_REQUEST

Syntax [GetExtDocumentWindowMode(docwinID)]

Parameter

Data type

Meaning

docwinID

DWORD

identifier of the external document window. See Remarks.

Reply

Data type

Values

Meaning

mode

WORD

65535

all abilities enabled

 

 

1

mouse zooming allowed

 

 

2

vector drawing allowed

 

 

4

scroll bar scrolling allowed

 

 

8

left mouse button zooming allowed

 

 

16

(can be ORed)

right mouse button context menu allowed

Remarks

When issuing commands to external document windows, you must use a specific docwinID, even if you are referring to the active document.

Release information

Added in Release 4.10.

Modified in Release 5.0:Added two possible mode values.

See also