ProgressForm has no parent window

Stimulsoft Reports.WPF discussion
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

ProgressForm has no parent window

Post by LukasT »

Hello...
.... following the http://forum.stimulsoft.com/viewtopic.p ... 7&start=20
Your ProgressForm isn't a part od ReportViewer. It means that in moment when ProgressForm is shown, if I click on viewer on background, ProgressForm goes backwards of the application where is Viewer built-in. I want ProgressForm to be like a part of Viewer and don't have it like a "homeless" message box :-) and don't see it in Task Switcher.
Do you understand of my requirement, please?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ProgressForm has no parent window

Post by HighAley »

Hello.

We made an improvement in WPF. It will be available in our release.

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: ProgressForm has no parent window

Post by LukasT »

Hello,
is this issue solved in 2012.2 version?
Thank you...
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ProgressForm has no parent window

Post by Alex K. »

Hello,

Yes. Please check the new release.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: ProgressForm has no parent window

Post by LukasT »

Hello,
ok.... ProgressForm has parent now and is not Topmost... that is great - thank you! But when ProgressForm is shown, it calls Activate() of parent Window. It is unpleasant in case of I am switched to another application....
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ProgressForm has no parent window

Post by Alex K. »

Hello,

Unfortunately, but on current moment it works as is.

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: ProgressForm has no parent window

Post by LukasT »

Hello,
I am back with this issue due it is really unpleasant.
Little example:
We have print dialog, where is possible to print some batch of invoices... customer needs to see status of printing, so rendering process must be visible... but user is able to do something else in another application. Unpleasant is when during printing process is Stimulsoft Viewer calling itself Activate method and it is appearing and disappearing as many times as how much report is printing...
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ProgressForm has no parent window

Post by Alex K. »

Hello,

Can you please send us a sample which show the issue for analysis.

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Re: ProgressForm has no parent window

Post by LukasT »

... example is attached. Run the example, then push Render button and then immediately switch to another application.
Attachments
StiReportActivateWindow.zip
(64.96 KiB) Downloaded 213 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ProgressForm has no parent window

Post by HighAley »

Hello.

It's a usual behavious of the WPF windows.

As a way you could use the RenderWithWpf(false) method. To show progress bar you should handle the Rendering event and show progress in your window.

Thank you.
Post Reply