Registry Format

The existence of an interface component such as a toolbar, dockbar, or editor is defined by an XML interface definition file such as my_designer_desktop.xml. Registry settings determine if an interface component is visible, and if visible, the position and sizing of the component on-screen.

ScenomePlatform applications store the following desktop configuration information in the registry:

Registry Writes

Registry writes occur when a ScenomePlatform application is shutdown or whenever the Customize dialog box is closed.

Figure 1.1. A Single Dockbar. The generic Dockbar folder stores information about the visible state and position of each dockable component. This includes the main menu bar, toolbars, and panels. Values are stored in hexadecimal notation.

[HKEY_CURRENT_USER\Software\Scenomics\Scenome Platform\ControlBars\C:|Documents and Settings|Owner|Application Data|Scenomics|Scenome.xml\-Bar6]
"BarID"=dword:0000e828
"XPos"=dword:00000000
"YPos"=dword:0000001a
"MRUWidth"=dword:000001e1
"Docking"=dword:00000001
"MRUDockID"=dword:0000e81b
"MRUDockLeftPos"=dword:00000000
"MRUDockTopPos"=dword:0000001a
"MRUDockRightPos"=dword:000002b6
"MRUDockBottomPos"=dword:00000036
"MRUFloatStyle"=dword:00002000
"MRUFloatXPos"=dword:000001fd
"MRUFloatYPos"=dword:0000005b

Figure 1.2. The Most Recent File List. This is a list of the most recently used files.

[HKEY_CURRENT_USER\Software\Scenomics\Scenome Platform\Recent File List]
"File1"="C:\\Documents and Settings\\Owner\\Application Data\\Scenomics\\Terrain\\myFile1.box"
"File2"="C:\\Documents and Settings\\Owner\\Application Data\\Scenomics\\Terrain\\myFile2.box"
"File3"="C:\\Documents and Settings\\Owner\\Application Data\\Scenomics\\Terrain\\myFile3.box"
"File4"="C:\\Documents and Settings\\Owner\\Application Data\\Scenomics\\Terrain\\myFile4.box"
"File5"="C:\\Documents and Settings\\Owner\\Application Data\\Scenomics\\Terrain\\myFile5.box"

Figure 1.3. Application Settings. ActiveInterfaceFile determines the XML interface definition file to which the shell is currently linked.

[HKEY_CURRENT_USER\Software\Scenomics\Scenome Platform\Settings]
"MainMax"=dword:00000001
"MainX"=dword:00000058
"MainY"=dword:00000058
"MainCX"=dword:000003c0
"MainCY"=dword:00000246
"BarsLocked"=dword:00000000
"ActiveInterfaceFile"="C:\\Documents and Settings\\Owner\\Application Data\\Scenomics\\Scenome.xml"