Application looses focus

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
Posts: 54
Joined: Wed May 06, 2009 4:26 am

Application looses focus

Post by mp33487 » Fri Jan 29, 2010 12:02 am

I'm running the latest and greatest (updated yesterday) and have an issue when scanning where the application looses focus and is hidden behind other windows. The code references "Me.Handle" so I assume the focus should not be lost. I'm expreicing the same issue when printing as well. Is there something I'm doing wrong? I did remove all UI's (TWAIN properties and scanner progress bar) to make sure that wasn't the issue.

User avatar
Site Admin
Posts: 5701
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Application looses focus

Post by Loïc » Fri Jan 29, 2010 11:35 am


You are right. Your application, at least the form used for "Me.Handle" should keep focus.

For investigation, I would be happy to get some information from your side.

When do you lost focus:

1 - Before scanning
2 -During scanning process
3 - When the scan process is done

Could you give me the part of the code you are using for the acquisition process ?

Kind regards,


Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests