The button identified by %QLaccBtn proved likely to be unnecessary, so I made all references to it into remarks (' in front).
Compiling the DLL now gives "Destination file write error". Remove the single quotes, and it compiles normally!
It is equated as %QLaccBtn = 40016 and the number IS unique.
Several buttons are on the dialog ---
%QLrnnBtn = 40013
%QLuprBtn = 40014
%QLrdoBtn = 40015
%QLaccBtn = 40016
%QLprnBtn = 40017
%QLfaxBtn = 40018
%QLemlBtn = 40019
Control Add Button, hDlg&, %QLrnnBtn, "Show run-on", 334, 94, 83, 20, %BS_MULTILINE
Control Send hDlg&, %QLrnnBtn, %WM_SETFONT, mnFont&, 1
Control Add Button, hDlg&, %QLUprBtn, "Show unit price", 334, 118, 83, 20, %BS_MULTILINE
Control Send hDlg&, %QLUprBtn, %WM_SETFONT, mnFont&, 1
Control Add Button, hDlg&, %QLrdoBtn, "Cancel and restart", 334, 142, 83, 20, %BS_MULTILINE
Control Send hDlg&, %QLrdoBtn, %WM_SETFONT, mnFont&, 1
Control Add Button, hDlg&, %QLaccBtn, "EXIT", 334, 166, 83, 20, %BS_MULTILINE 'Call Abandon
Control Send hDlg&, %QLaccBtn, %WM_SETFONT, mnFont&, 1
-- and the only other reference to this particular button occurs in this bit of code --
Control Enable hDlg&, %QLpdpFrm
Control Enable hDlg&, %QLpdpCbx
Control Enable hDlg&, %QLrnnBtn
Control Enable hDlg&, %QLuprBtn
Control Enable hDlg&, %QLrdoBtn
Control Enable hDlg&, %QLaccBtn
Now THAT I call a WEIRD condition. I better find a use for that button.
------------------
Compiling the DLL now gives "Destination file write error". Remove the single quotes, and it compiles normally!
It is equated as %QLaccBtn = 40016 and the number IS unique.
Several buttons are on the dialog ---
%QLrnnBtn = 40013
%QLuprBtn = 40014
%QLrdoBtn = 40015
%QLaccBtn = 40016
%QLprnBtn = 40017
%QLfaxBtn = 40018
%QLemlBtn = 40019
Control Add Button, hDlg&, %QLrnnBtn, "Show run-on", 334, 94, 83, 20, %BS_MULTILINE
Control Send hDlg&, %QLrnnBtn, %WM_SETFONT, mnFont&, 1
Control Add Button, hDlg&, %QLUprBtn, "Show unit price", 334, 118, 83, 20, %BS_MULTILINE
Control Send hDlg&, %QLUprBtn, %WM_SETFONT, mnFont&, 1
Control Add Button, hDlg&, %QLrdoBtn, "Cancel and restart", 334, 142, 83, 20, %BS_MULTILINE
Control Send hDlg&, %QLrdoBtn, %WM_SETFONT, mnFont&, 1
Control Add Button, hDlg&, %QLaccBtn, "EXIT", 334, 166, 83, 20, %BS_MULTILINE 'Call Abandon
Control Send hDlg&, %QLaccBtn, %WM_SETFONT, mnFont&, 1
-- and the only other reference to this particular button occurs in this bit of code --
Control Enable hDlg&, %QLpdpFrm
Control Enable hDlg&, %QLpdpCbx
Control Enable hDlg&, %QLrnnBtn
Control Enable hDlg&, %QLuprBtn
Control Enable hDlg&, %QLrdoBtn
Control Enable hDlg&, %QLaccBtn
Now THAT I call a WEIRD condition. I better find a use for that button.
------------------