Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Import Resource Script
Enterprise Architect supports the import and export of Microsoft WindowsTM Resource Scripts (as .rc files), which contain the Win32 dialog definitions (those with the stereotype «win32Dialog») for an application's graphical user interface. Dialog resources are imported and exported for a specific location, which defaults to the location of the current computer system.
Access Right-click on a Package | Code Engineering | Import Resource Script
Right-click on a Screen element | Code Engineering | Synchronize with Code (F7)
Import dialog resources from a .rc file
Field/Button/Option |
Action |
See also |
||||
---|---|---|---|---|---|---|
Resource File |
Click on the ( ... ) Browse button and locate the .rc file to import the screen elements(s) from.
|
|
||||
Resource ID |
Either:
|
|
||||
Language |
Click on the drop-down arrow and select the language version (such as English - United States) of the dialog(s) to import.
|
|
||||
Import |
Click on this button to import the screens from the resource file. The progress of the import is reported in the field underneath the Language field.
|
|
Export a dialog to a .rc file
Field/Button/Option |
Action |
See also |
---|---|---|
Screen ID |
Defaults from the Win32UI ID Tagged Value of the selected Screen element. (If the dialog does not have this ID, open the Win32UI page of the element's Properties dialog and provide a value for the ID tag.)
|
|
Resource File |
Click on the ( ... ) Browse button and locate the .rc file into which to export the screen elements(s). If the element was previously imported, this field defaults to the source file.
|
|
Language |
Click on the drop-down arrow and select the language version (such as English - United States) of the exported dialog.
|
|
Export |
Click on this button to export the screens from the resource file. The progress of the export is reported in the field underneath the Language field.
|
|
Notes
• | New dialogs are exported to an existing .rc file |
• | In an export to an existing .rc file, no dialogs are ever deleted from the file, even when they are deleted from the model |
• | In an import, no dialogs are deleted from the model even when omitted from the original .rc file |