IN_CloseDocumentWindow

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

The IN_CloseDocumentWindow function closes the specified document window and optionally prompts the user to save the document if it has been changed. If bSavePrompt is set to 0 (do not prompt), then the document will not be saved even if it has been changed.

Syntax

int IN_CloseDocumentWindow( docwinID, bSavePrompt )

Parameters

Values

Meaning

IN_DOCWIN docwinID

0 | docwinID

active | specific

IN_BOOL bSavePrompt

FALSE | TRUE

do not prompt | prompt

Release information

Added to Imagenation for Windows in Release 4.00.

As of Release 5.1, also available in Imagenation for UNIX.

See also

Closing windows