Page 1 of 1

Printdlg in 64-bit Apps Problem

Posted: Mon Jul 04, 2016 2:10 pm
by rksaskia
Hello,

in 64-bit applications you show the PrintEx dialog, instead of the normal print dialog.

From your source code:
StiPrintProvider.UseEXDialog = StiPrintProvider.UseEXDialog | size;

First Question: Why?

Now the problem:
In that dialog you must click twice to print. The dialog has not the focus.
32bit.png
32bit.png (84.62 KiB) Viewed 1770 times
64bit.png
64bit.png (94.96 KiB) Viewed 1770 times
Can you help?

Greetings

Re: Printdlg in 64-bit Apps Problem

Posted: Tue Jul 05, 2016 2:23 pm
by Alex K.
Hello,

In the .NET framework 2/3 often appeared the following bug: the standard print dialog box appears behind the current window, and out of focus.
The PrintEx dialog always appears always ahead, but the focus is not always.

In the new framework (4 and higher) we did not check it if it is important - we will check it.

Thank you.

Re: Printdlg in 64-bit Apps Problem

Posted: Wed Aug 03, 2016 1:48 pm
by rksaskia
Hello,

have they found a solution (printex-dialog no focus)?

Greetings

Re: Printdlg in 64-bit Apps Problem

Posted: Thu Aug 04, 2016 9:07 am
by Alex K.
Hello,

You can use the static option in your code:
Stimulsoft.Report.Print.StiPrintProvider.UseEXDialog = false;

Also, some clients on the Windows 7 64 bit the problem of the print dialog not showing up and immediately returning Canceled.

Thank you.