TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

how to disable UI messages from device

Forums › TWAIN Classic › how to disable UI messages from device

  • This topic has 2 replies, 3 voices, and was last updated 6 years, 11 months ago by xiaoyuandlg.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 6, 2008 at 1:04 pm #22427 Reply
    kropek
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Hi all.
    I have a problem how to disable all the pop-up windows started by twain driver. For example when i start scanning bizness card using NewSoft BizzCard Reader and there is no card a window pop-up with information to input card. How to turn it of ??
    Thanks and sorry for my bad english

    November 7, 2008 at 6:09 am #24711 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    you can ‘request’ that a driver not display it’s UI with the appropriately named ShowUI parameter in EnableDs. And you can ‘request’ that process indicators not be displayed with Cap_Indicators if your device supports it.

    My experience is that the requests are often overlooked and that MessageBoxes will still clutter your OpenDs, EnableDs & EnableDsUiOnly triplets.
    The only solution that I have found is to add a boxEater to your app, which is essentially a cbthook running on a seperate thread watching for dialogs you know would like to close. My solution is to set the hook before any of the 3 triplets I mentioned and to unhook after they complete or when you call CloseDs if it is still enabled. On every window activation I check the window title and all of the child controls against a list that I load of dialogs that should have something done to them. The effect is that you have a training stage where you teach your app what dialogs to do stuff to by intentionally jamming paper, unplugging the device, poring coffee on it (ok, not that one), etc

    .

    February 8, 2014 at 3:27 am #24712 Reply
    xiaoyuandlg
    Participant
    • Topics - 0
    • Replies - 6
    • Total Posts - 6

    I also don’t know the exact method of achieving the goal, but I recently read something about the UI dialog control, mentioning about the dialog message box, seems to be easy to control through C# codes.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: how to disable UI messages from device
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.