Can any one tell me when the DIALOG END statement can be used without causing a GPF?
Example.(Created using CONTROL ADD...under PBMAIN) text box receives input that requires the program to close.Processing by callback attached to DIALOG SHOW statement results in a GPF.
Is it possible to fire the %WM_SYSCLOSE event and if so, does it do it cleanly ie: without causing a GPF.
I have used Callbacks attached to CONTROL ADD BUTTON statements that just do a DIALOG END and they work.
Problem is that the only other control is the System Close. I dont want to add a Close button if I can do without it.
Example.(Created using CONTROL ADD...under PBMAIN) text box receives input that requires the program to close.Processing by callback attached to DIALOG SHOW statement results in a GPF.
Is it possible to fire the %WM_SYSCLOSE event and if so, does it do it cleanly ie: without causing a GPF.
I have used Callbacks attached to CONTROL ADD BUTTON statements that just do a DIALOG END and they work.
Problem is that the only other control is the System Close. I dont want to add a Close button if I can do without it.
Comment