DocSaveModified

DocSaveModified saves the document if the modification flag is set. If the file does not exist a SaveAs dialog box will be displayed.

bool = DocSaveModified(hDoc)
bool = DocSaveModified(hDoc, bAskUser)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hDoc

Identifies the document.

bAskUser

If bAskUser is TRUE (1) a message box with the question “Save Changes to UniPlot?” is displayed. Default value is FALSE (0).

id-1035039