I am trying to configure a C # application that uses a TWAIN example from a code project
This works fine, except that I need to drop Form in IMessageFilter and call IMessageFilter.PreFilterMessage() to catch the TWAIN callbacks.
I also need to start this filtering by calling
Application.AddMessageFilter();
Is there a way to do the same in a WPF window? (To add a message filter and catch TWAIN callbacks).
Another high-level question: Does anyone know about C # TWAIN \ wrappers alternative libraries?
Thanks.
c # wpf imaging twain image-scanner
Valentin
source share