Home › Forums › TWAIN Classic › show native scan-properties dialog with ‘OK’ button
- This topic has 2 replies, 2 voices, and was last updated 15 years, 7 months ago by alexk.
- AuthorPosts
Hello forum,
I try to show a native Scan-properties dialog with ‘OK’ button (Java/C++), but I get only a ‘Scan’ dialog. Can I separate the properties-setting and scanning? Is there any possibility to replace ‘Scan’-button with OK-button?
Thx, Alex
Search for ‘EnableDsUiOnly’ in the twain spec. This call is used to display the settings dialog (from the vendor) for an acquisition with the idea that once the user selects ‘ok’ that you can then call CustomDsData/Get and you’ll receive a string of data. That string of data can then be saved by you and replayed back to the device at a later date without having the device’s Ui shown in most cases.
Is that what you’re looking for or have I just read your question into my favorite way of dealing with twain?
.
Thank You, it works!
- AuthorPosts