Page 1 of 1

RC5: No TWAIN source, so gray out options?

Posted: Tue Jun 07, 2005 12:19 am
by kaptainkory
If I have no TWAIN sources hooked up to my computer, shouldn't the following menu items be grayed out?

* File -> Select TWAIN Source...
* File -> Acquire...
* File -> Acquire into...

XnView 1.80 <x>

Ho, yes !

Posted: Tue Jun 07, 2005 12:30 am
by Clo
:) I agree, and remove too that f****** useless icon at the start-up, when not any file is displayed… Pierre said : "I can't" :|

:mrgreen: KR
Claude
Clo

Re: RC5: No TWAIN source, so gray out options?

Posted: Tue Jun 07, 2005 8:30 am
by xnview
kaptainkory wrote:If I have no TWAIN sources hooked up to my computer, shouldn't the following menu items be grayed out?

* File -> Select TWAIN Source...
* File -> Acquire...
* File -> Acquire into...
Sorry but i can't know if you have or not a TWAIN interface...

Ideas---

Posted: Tue Jun 07, 2005 4:52 pm
by Clo
:arrow: Pierre

:) Hello !
Sorry but i can't know if you have or not a TWAIN interface...
- Is not that info available somewhere in Windows ?

- A workaround : search for the most used drivers with TWAIN devices ?

- And the simplest, finally : just a couple of radio-buttons somewhere in the Options like :
“ Have you any TWAIN device installed?” [o] Yes [o] No

What do you think ?

:mrgreen: Kind regards,
Claude
Clo

Posted: Tue Jun 07, 2005 5:03 pm
by kaptainkory
Or "secretly" check if any devices are populating the "Select TWAIN Source..." dialogue box? It seems strange to me that XnView can list any TWAIN devices, but it can't check whether there are any or not... Don't you have to know they are there in order to list them?

Posted: Wed Jun 08, 2005 6:25 am
by xnview
kaptainkory wrote:Or "secretly" check if any devices are populating the "Select TWAIN Source..." dialogue box? It seems strange to me that XnView can list any TWAIN devices, but it can't check whether there are any or not... Don't you have to know they are there in order to list them?
The dialog to list TWAIN devices is not XnView, but TWAIN API ;-)