msgCatEditor()
The function opens the catalog editor.
Synopsis
int msgCatEditor(string catalog);
Parameter
| Parameter | Description | 
|---|---|
| catalog | The name of the catalog file that is created. | 
Return value
The function returns 0 if it was successfully executed and in case of errors -1.
Description
The function opens the catalog editor and creates a catalog file with the specified name. Entries can be added and saved in the editor. The file is saved in the WinCC_OA_Proj/msg/[language] directory.
 Example
Example
main(mapping event)
{
  string cat = "_errors";
  int i = msgCatEditor(cat);
  DebugN(i, "Catalog:", cat);
}The example opens the catalog editor and creates a catalog file with the name
                _errors. Rows can be added via the  button.
                Row below the selected row via the
 button.
                Row below the selected row via the  button. Save the file via the
                button. Save the file via the  button.
 button.
Figure: Message catalog editor
                 
            
Assignment
Graphics functions
Availability
UI
