Does anyone know how to prevent a modal DDT dialog from closing, once DIALOG END
has been used (or if/when the DDT dialog is closed from the system menu)?
I have tried trapping it in WM_CLOSE and that gives me the option of showing
a messagebox to the user, "Exit? - Yes or No", but then I'm stuck, because
the dialog closes no matter what I do. Shouldn't it be enough to return zero
and exit the function to cancel the process?
Am I stupid or isn't it possible to do this with DDT dialogs? I have searched
all messages here and looked at all samples, with no luck. Somehow it should
be possible to do it though.. I think.
has been used (or if/when the DDT dialog is closed from the system menu)?
I have tried trapping it in WM_CLOSE and that gives me the option of showing
a messagebox to the user, "Exit? - Yes or No", but then I'm stuck, because
the dialog closes no matter what I do. Shouldn't it be enough to return zero
and exit the function to cancel the process?
Am I stupid or isn't it possible to do this with DDT dialogs? I have searched
all messages here and looked at all samples, with no luck. Somehow it should
be possible to do it though.. I think.
Comment