Two child form can't call the same camera
To solve the medicine!!!!!!
Sit back and wait for
CodePudding user response:
I remember this control can be put the image output to the specified HDC, so the image is copied to the multiple picture there should be no problem.CodePudding user response:
Thank you for your replyI mean can both child form at the same time get the preview effect is used to take photos or when a child form loses focus when another child form for preview,
Now the situation is at the same time open two cites ezvidcap. Ocx controls the form preview the other one is only a form of a piece of green, lead to can't take photos, must close the window to photography,
How to implement this function?
CodePudding user response:
That a form reference only, the other forms with the timer from the first form of copy images to the window...CodePudding user response:
After form loses focus releasePrivate Sub Form_LostFocus ()
EzVidCap1. Preview=False
EzVidCap1. Visible=False
End Sub
Use
CodePudding user response:
You see if there are any similar ezVidCap1. CloseReally not line, set ezVidCap1=nothing can also like
When need to set ezVidCap1=new...
CodePudding user response:
Try all methods changed are not make