- This topic has 0 replies, 1 voice, and was last updated 11 years, 11 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 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 › Can’t get Twain messages in modal dialog
Hi,
I have problem with receiving messages in modal dialog. I have app, which has overwritten PreTranslateMessage(). From main window I call modal dialog with my own user interface to set scanner capabilities. This dialog has button, which calls Twain user interface (MSG_ENABLEDSUIONLY). Then I want to receive MSG_CLOSEDSOK in dialog’s message loop, but it receives only MSG_NULL and MSG_CLOSEDSOK is received by main window. I tried to use PeekMessage but without success.
Does anybody know how to receive Twain messages in modal dialog?
Thanks in advance,
Aga