ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 why twain scanner's dialog open behind the main form of my app?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
anbangs Posted - Sep 05 2022 : 04:17:12
I have two questions:
1) When I call the acquire method, sometimes the twain dialog box will run behind.
2) When the twain dialog box pops up, click other app on the taskbar to maximize and then return to my app(clike my appicon on the taskbar). The twain dialog box will run behind, causing the program to fail to respond.Other app must be minimized in order for the twain dialog box to appear

my ver is 10.2.0

How to solve the above two problems,thanks!





attach/anbangs/20229541659_TwainBehind.zip
38.94 KB
11   L A T E S T    R E P L I E S    (Newest First)
anbangs Posted - Sep 16 2022 : 03:31:45
I've emailed you.

thank you
xequte Posted - Sep 13 2022 : 17:07:52
If you don't want to upgrade at this time, email me and I send you the code changes you'll need to make to ietwain.pas

Nigel
Xequte Software
www.imageen.com
anbangs Posted - Sep 13 2022 : 02:34:02
the same code doesn't work properly on my side. :(

thank you
xequte Posted - Sep 09 2022 : 05:06:57
Hi

The code is merely:

  ImageEnView1.IO.TwainParams.VisibleDialog := True;
  ImageEnView1.IO.Acquire;


I suspect the issue has been fixed since v10.2.0.

Nigel
Xequte Software
www.imageen.com
anbangs Posted - Sep 08 2022 : 05:28:59
Hi
Your demo is normal. Can you paste the code?
xequte Posted - Sep 08 2022 : 05:09:29
Hi

Please download it from:

www.imageen.com/temp/legacyphotoen.zip

Click the "New" button on the left of the toolbar, and then "Button1"


Nigel
Xequte Software
www.imageen.com
anbangs Posted - Sep 07 2022 : 01:08:25
can you upload your demo.exe for testing?
xequte Posted - Sep 07 2022 : 00:17:31
Hi

I'm not seeing that here with 11.3.0 (and cannot see any reason it would be different in 10.2.0). I tested it in an MDI application and called it from an MDI client.

There might be something else going on in the application...



Nigel
Xequte Software
www.imageen.com
anbangs Posted - Sep 06 2022 : 03:44:42
Is it only supported when the form is fsnormal?
anbangs Posted - Sep 05 2022 : 19:36:05
the scanner is Canon DR-M1060
Follow the steps I described and you will understand
the twain demos don't.
my demo is MID form
xequte Posted - Sep 05 2022 : 16:39:43
Hi

Do you see this behavior with our Twain demos too? What type of scanner is it?

Nigel
Xequte Software
www.imageen.com