Hi there,

had some troubles debugging an app. I use dialog doevents
in some DDT child forms. In my main form the CreateDialog
msg handler may terminate the app if some race condi. are
invalid ( i.e. reg settings, missing files, wrong user .. ) .

Calling DIALOG END from the WM_CreateDialog message handler
will close the DLG but not the prg.

The line after DIALOG SHOW MODAL in pbmain() isn't executed.
Could fix the problem by replacing DAILOG DOEVENTS with
apisleep 0 in the child DDT message handler.

Does anyone know what Dialog Doevents excatly does ?