Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control in a dialogue following the execution of an external programme
#1
In the function that it follows, I want - under certain conditions - to repeat the execution of the dialog, following the execution of an external program defined in sub thread. I wonder whether the solution I gave is appropriate, although it works.

;g1
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
opt waitmsg 1 ;;process messages while waiting
wait 0 H mac("sub.Thread" "" d_root) ;;run code in other thread and wait
goto g1

Many thanks in advance.
#2
Yes, if this code is in a dialog procedure function. If not, can be

;g1
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
run d_root ...
goto g1


Forum Jump:


Users browsing this thread: 1 Guest(s)