Search found 3 matches

by NickHallas
Fri Aug 03, 2018 3:43 pm
Forum: TWAIN & WIA Acquisition
Topic: Setup screen hanging application
Replies: 3
Views: 521

Re: Setup screen hanging application

Another update on this - I've got it forking by creating a hidden WinForm window, and using that to provide the window handle.

(But that really is a hack).
by NickHallas
Fri Aug 03, 2018 2:53 pm
Forum: TWAIN & WIA Acquisition
Topic: Setup screen hanging application
Replies: 3
Views: 521

Re: Setup screen hanging application

Actually; on further investigation, it's a little more complex. The UI is mostly active, but the highlighting of buttons control as the mouse is moved over no longer works, so it gives the impression of being inactive. Clicking a button does invoke the handler. Closing the window (which is the main ...
by NickHallas
Fri Aug 03, 2018 2:01 pm
Forum: TWAIN & WIA Acquisition
Topic: Setup screen hanging application
Replies: 3
Views: 521

Setup screen hanging application

I have a WPF application from which I'm trying to invoke the Twain setup configuration dialog. I'm using code like: var handle = new System.Windows.Interop.WindowInteropHelper(this); using (var picture = new GdPicture14.GdPictureImaging()) { picture.TwainOpenDefaultSource(handle.Handle); picture.Twa...