Search found 4 matches
- Wed Jun 26, 2019 5:53 pm
- Forum: VintaSoft Twain .NET SDK Discussions
- Topic: Losing Window Focus
- Replies: 6
- Views: 9312
Re: Losing Window Focus
using (DeviceManager deviceManager = new DeviceManager(this))
- Wed Jun 26, 2019 5:20 pm
- Forum: VintaSoft Twain .NET SDK Discussions
- Topic: Losing Window Focus
- Replies: 6
- Views: 9312
Re: Losing Window Focus
aha, I figured out the culprit.
I am disabling the form (effectively disabling all the controls) and then re-enabling the form before/after the image acquisition. That must be messing with the Window handle being passed to the TWAIN driver?
Once I remove that, everything works as expected.
Thanks!
I am disabling the form (effectively disabling all the controls) and then re-enabling the form before/after the image acquisition. That must be messing with the Window handle being passed to the TWAIN driver?
Once I remove that, everything works as expected.
Thanks!
- Wed Jun 26, 2019 5:10 pm
- Forum: VintaSoft Twain .NET SDK Discussions
- Topic: Losing Window Focus
- Replies: 6
- Views: 9312
Re: Losing Window Focus
I'm using the 32bit CanoScan 9000F Mark II driver
- Wed Jun 26, 2019 4:40 pm
- Forum: VintaSoft Twain .NET SDK Discussions
- Topic: Losing Window Focus
- Replies: 6
- Views: 9312
Losing Window Focus
Hello, I am using the sample code, specifically the AcquireImageModal routine, and my application loses focus after acquiring an image. I am activating the main form after the image is acquired, but it still results in a * window (losing focus, then activating) Is there something that can be done to...