LEADTOOLS Support
Imaging
Imaging SDK Questions
Is there a way to capture the Cancel from TWAIN Acquire Dialog?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, September 2, 2005 3:28:25 PM(UTC)
Groups: Registered
Posts: 1
Hi,
I am new to the LEAD tool TWAIN ActiveX controls, and not all too familiar with TWAIN nor scanning in general. I am trying to support this code that calls the SelectSource(), which returns a short int. Is there a code for if the user clicks Cancel in the Select Source dialog? From your help file, it only says 0 means successful, but it does not show the list of error code values (when I click on the link, the link was broken, and I cannot view the list of error codes). Right now, there is no way for me to know if the user clicked Cancel vs. if there is truly an error.
I am using VC++ on Windows XP.
Thank you,
Ann
#2
Posted
:
Monday, September 5, 2005 10:40:49 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
When you click Cancel the method will return 20563, which means "Cancel Operation Done".
Bashar Abdulqaiyume
LEAD Technologies, Inc.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Is there a way to capture the Cancel from TWAIN Acquire Dialog?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.