Gadgets > Rogue Wave Views Application Framework > Implementing an Application > Option Files
 
Option Files
While initializing, an Application Framework application reads three option files that contain data. This data can be the contents of menus and toolbars, the recently used file list, document templates, and so on.
The option files are the following:
*The Application Framework option file. Its path is <ILVHOME>/data/ilviews/appframe/docview.odv and it is contained by the <ILVHOME>/data/res/appframe.rc file.
This file contains the descriptions of the default actions (OpenDocument, SaveDocument, Cut, Copy, and so on), the default menus, and the description of the default toolbars.
*The application option file. The file path is given to the IlvDvApplication object using the setAppOptionsFilename method.
This file is edited using the Application Framework Editor and contains the following information:
*Application name and title of the main window.
*Description of different document templates.
*The main menu and the toolbars, if different from the default ones stored in the Application Framework option file.
*Description of actions.
*User application data.
*User profile options file. Its default path is given as follows:
*Windows:
<Windows directory>/Profiles/<Username>/Application Data/<Application name>.odv
*UNIX:
$(HOME)/<Application name>.odv
To specify a different path, use the method:
IlvDvApplication::setUserOptionsFilename
This file contains the application data modified by the user the last time the application was run. It is mainly composed of:
*Most Recently Used file list.
*Position and size of the application main window.
*Positions and state (hidden or not) of all dockable toolbars.
*Customizing of toolbar contents.
*Customizing of actions.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.