Files that need to be changed:
xfldr001.def:
The module definition file.
Required changes are noted in the file itself.
makefile:
Makefile for IBM NMAKE.
Required changes are noted in the file itself.
xfldr001.rc, xfldr001.dlg:
These are the main resource files which need lots of
changes.
I've documented everything you need to change
in the .RC
file.
The .DLG
file is included when the RC files is recompiled. It
contains all the XWorkplace dialogs (i.e. notebook pages and other dialog windows).
Sorry, there are no comments in there because I'm using DLGEDIT.EXE
to create the dialogs, which rewrites the DLG file at every change, so all comments
in there get lost.
Note: Because of this stupid limitation, I am currently trying to get
rid of all the dialog resources and eventually the .DLG
file altogether.
Starting with V0.9.16, more and more dialog resources are converted so that XWorkplace
only loads the strings for the dialog elements from the string tables in the
.RC
file any more and creates the dialog dynamically at run time. This
also saves you from realigning the controls if you don't have enough space.
DLGEDIT.EXE
, the IBM dialog editor from the Developer's Toolkit,
to change the dialogs. (This will not affect the .RC
file.) For this,
you will need to create the .RES
file first. This is done by
MAKE.CMD
; alternatively, you can start RC.EXE
with the "-r" option,
which creates a .RES
instead of linking the resources to an
executable.
If you then open the .RES
file with the dialog editor, you can
choose include/dlgids.h
as an include file so that all the numerical ID's
have a more meaningful name.
When you then save the file, the .RES
and .DLG
files will be
recreated by DLGEDIT.
The .RC
file remains untouched though.
The dialog editor has a helpful "Translate mode" in its "Options" menu which disables a lot of menu items so you don't accidentally change dlg ID's or other important stuff.
I don't know if you can use the URE editor also, I have not tried that.