Code: Select all
Event = WaitWindowEvent(1)
Select Event
Case #Event_Update_Video
SetGadgetState(#imgVideo, ImageID(Param\CaptureImage)) ; update the video capture output
I think for what I am doing, it is fine to do it in a thread. I am updating an image which according to the documentation is OK
If you need to display graphics in threads use Images and 2DDrawing instead.

