IN_RegisterExternalWindow

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

The IN_RegisterExternalWindow function registers a window handle from an external application for use by Imagenation. You can use it to render an external document, Reference, or Detail window.

After you register an external window as a document window, you can open a document in it, and perform actions on the document (such as IN_Merge and IN_Save). However, before opening another document in it, you must unregister the external window, and then register it again. If you open and process multiple documents in an external window without registering and unregistering the window each time, you will quickly run out of resources.

Syntax

int IN_RegisterExternalWindow( hWnd, extwinType, pExtwinID )

Input Parameters

Values

Meaning

HWND hWnd

window handle from the external application

SHORT extwinType

IN_EXTWIN_DOCUMENT (0) document window

IN_EXTWIN_REFERENCE (1) Reference window

IN_EXTWIN_DETAIL (2) Detail window

Output Parameters

Values

 

IN_WINOBJ_PTR pExtwinID

if successful, pointer to the external window identifier

Release information

Added to Imagenation for Windows in Release 4.30.

Not supported in Imagenation for UNIX.

See also

Opening documents into external windows