08-25-2006, 09:38 AM
Exist various ways.
1. The function runs in other thread.
mac "functionname"
ShowDialog(...)
2. Modeless dialog.
ShowDialog(x x x 0 1)
rep
,the code
,wait 0.1
You cannot simply get data from modeless dialogs.
3. In dialog procedure, eg using timer (SetTimer/WM_TIMER). You can find timer examples in other topics.
4. And maybe more (don't remember now).
1. The function runs in other thread.
mac "functionname"
ShowDialog(...)
2. Modeless dialog.
ShowDialog(x x x 0 1)
rep
,the code
,wait 0.1
You cannot simply get data from modeless dialogs.
3. In dialog procedure, eg using timer (SetTimer/WM_TIMER). You can find timer examples in other topics.
4. And maybe more (don't remember now).