Window repaint problem
Posted: Mon Aug 22, 2005 9:13 am
How can I prevent my window from hanging when I use MyLongDurationFunction() ?
Using CreateThread() function ?
Thanks.
Using CreateThread() function ?
Code: Select all
Open_Window()
Repeat
Event = WaitWindowEvent()
If Event = #PB_EventGadget
GadgetID = EventGadgetID()
If GadgetID = #Create
MyLongDurationFunction()
EndIf
EndIf
Until Event = #PB_EventCloseWindow