All Editions
Related Functions
Example
The IN_OpenExternalDocumentWindow function opens the specified document into an external document window. Before using this function, you must register the external window's handle with the IN_RegisterExternalWindow function. The image will not appear until you issue the IN_HandleExternalWindow function. You can do this before or after calling IN_OpenExternalDocumentWindow.
Syntax
int IN_OpenExternalDocumentWindow( docwinID, location, pFilename, label, flags )
|
Parameters |
Values |
Meaning |
|
IN_DOCWIN docwinID |
identifier returned by IN_RegisterExternalWindow. See Remarks. | |
|
SHORT location |
IN_LOCN_DISK |
the file is located on a disk |
|
CHARPTR pFilename |
file name and path of the document to open | |
|
CHARPTR label |
label, maximum 80 characters | |
|
USHORT flags |
IN_FLAG_SCROLLBAR_NONE (0) IN_FLAG_SCROLLBAR_HORZ (1) IN_FLAG_SCROLLBAR_VERT (2) IN_FLAG_SCROLLBAR_BOTH (3) | |
Remarks
When you issue commands to external document windows, you must use a specific docwinID, even if you are referring to the active document. There is no way to identify the "active" document window in another application.
Release information
Added to Imagenation for Windows in Release 4.10.
Not supported in Imagenation for UNIX.
See also