L3DT documentation
Large 3D terrain generator

zproj_DemandSave

Description

Display a message box notifying the user that the project must be saved to continue, and provide a 'save as' window to save the project.

Files

Declaration zProj.h
Implementation zProj.cpp

Function prototype

bool zproj_DemandSave();

Return value

True if the project is successfully saved, and false if:

  • The user cancelled the save window, or;
  • An unspecified error occurred.

Comments

The notification message box looks like:

If the user clicks OK, a standard Windows file dialog is displayed to allow the user to select the filename of the project. If the user clicks Cancel, zproj_DemandSave returns false.

 
zeolite/functions/zproj_demandsave.txt · Last modified: 2017/08/31 06:51 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki