- This topic has 2 replies, 2 voices, and was last updated 16 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Classic › detect button pressed
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.
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]
sorry I made a mistake: it should be CAP_DEVICEEVENT with MSG_DEVICEEVENT! MSG_PROCESSEVENT has to be supported anyway