- This topic has 2 replies, 2 voices, and was last updated 1 month, 1 week ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
Forums › TWAIN Classic › Logitech focus isses in a background thread
Hello all,
I am using TWAIN to connect to a Logitech webcam and taking an image in a background thread (My app is written in C++).
Strangely, even though no Logitech UI is displayed, my application loses focus when Logitech captures the image. This is frustrating for my application users because they might be typing within a control when suddenly focus is lost and they have to click back on the control to continue.
I have tried various ways to ensure focus is not lost but I haven’t been able to succeed so far. Sadly, this behaviour has been found to be unique to Logitech products as others work fine.
Is this a known problem and/or can anyone offer a workaround?
when does it loose focus?
.
Hello Gabe,
I lose focus in my main thread sometime between my background thread calling CallTwainProc with parameter MSG_ENABLEDS and CallTwainProc with parameter DAT_IMAGENATIVEXFER.