04-23-2021, 03:42 PM
Your dialog needs to be a smart dialog.
the error message shows you how to fix it. The dialog must have a Dialogue Procedure. In qm output it gives you a sample code to fix the issue..
Sample ShowDialog code and dialog procedure:
if(!ShowDialog(dd &sub.DlgProc 0)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
case WM_INITDIALOG
case WM_DESTROY
case WM_COMMAND goto messages2
ret
messages2
sel wParam
case IDOK
case IDCANCEL
ret 1
close dialog editor
find this line in
if(!ShowDialog(dd 0 0)) ret
replace with sample code
then reopen dialog editor and follow instructions given above.
or can re make the dialog as a smart dialog.
the error message shows you how to fix it. The dialog must have a Dialogue Procedure. In qm output it gives you a sample code to fix the issue..
Sample ShowDialog code and dialog procedure:
if(!ShowDialog(dd &sub.DlgProc 0)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
case WM_INITDIALOG
case WM_DESTROY
case WM_COMMAND goto messages2
ret
messages2
sel wParam
case IDOK
case IDCANCEL
ret 1
close dialog editor
find this line in
if(!ShowDialog(dd 0 0)) ret
replace with sample code
then reopen dialog editor and follow instructions given above.
or can re make the dialog as a smart dialog.