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

detect button pressed

Forums › TWAIN Classic › detect button pressed

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 7 months ago by TheCrow99.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 24, 2007 at 6:31 pm #22202 Reply
    pradcliff
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    I have a camera with terribly written twain drivers. I just want a simple way to detect when the freeze button has been pressed. Is there any way to do that? and if so to make it launch an exe or anything.

    August 27, 2007 at 6:04 am #24088 Reply
    TheCrow99
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    if your camera supports the cappability CAP_DEVICEEVENT -> DAT_EVENT MSG_PROCESSEVENT then you could use that otherwise I would have a look at GetSTILaunchInformation from Windows, but I am not sure if this works.[/list]

    August 27, 2007 at 7:38 am #24089 Reply
    TheCrow99
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    sorry I made a mistake: it should be CAP_DEVICEEVENT with MSG_DEVICEEVENT! MSG_PROCESSEVENT has to be supported anyway

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: detect button pressed
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

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • 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.