Home › Forums › TWAIN Direct › How to exclude some devices on UserSelect Message
- This topic is empty.
- AuthorPosts
- Ivan
Hello.
I develop application to work with MFD and I use your driver.First of all I call DsmOpen method ;
After that I ask and add only online sources into my List of objects (3 of 5 in a list), which locates in my Twain.class.And my question is Why when I call DG_CONTROL, DAT_IDENTITY, MSG_USERSELECT I again get full list of my devices?
IvanIf I use my own Form before MSG_USERSELECT I get exception DG DAT MSG out of expected sequence
MarkMI recommend against using MSG_USERSELECT. You’re much better off providing your own dialog. That way you can enumerate the available drivers using DG_CONTROL/DAT_IDENTITY/MSG_GETFIRST and DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT, which will allow you to filter for drivers in any way you want before presenting the list to the user.
- AuthorPosts