IN_GetExtDocumentWindowMode

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

The IN_GetExtDocumentWindowMode function returns which actions you can take in an external document window. Before you use this function, you must register the window with IN_RegisterExternalWindow, and then initialize it with IN_HandleExternalWindow.

Syntax

int IN_GetExtDocumentWindowMode( docwinID, pMode )

Input Parameters

Values

IN_DOCWIN docwinID

identifier of the external document window (assigned by IN_RegisterExternalWindow). See Remarks.

Output Parameters

Values

Meaning

INTPTR pMode

pointer to the window mode:

IN_EXTMODE_ALL (65535) all abilities enabled

IN_EXTMODE_ZOOM (1) mouse zooming allowed

IN_EXTMODE_VECTOR (2) vector drawing allowed

IN_EXTMODE_SCROLL (4) scrolling allowed

IN_EXTMODE_LMB_ZOOM (8) 
left mouse button zooming allowed

IN_EXTMODE_RMB_CONTEXT (16)
right mouse button context menu allowed

(can be concatenated or ORed)

Remarks

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

Release information

Added to Imagenation for Windows in Release 4.10.

Modified in Release 5.0 to support more display options.

Not supported in Imagenation for UNIX.

See also

Opening documents into external windows

Placing vector objects

Scrolling

Zooming