NoProgress in CreateOpenDocParams for OpenDocFrom  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Paul - PDF-XChange, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - Tracker, Ivan - Tracker Software, Stefan - PDF-XChange

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
zarkogajic
User
Posts: 1430
Joined: Thu Sep 05, 2019 12:35 pm

NoProgress in CreateOpenDocParams for OpenDocFrom

Post by zarkogajic »

Hi Support,

Seem that even if "NoProgress" is set for CreateOpenDocParams - OpenDocFrom will still "Stop" (/hide) the running DefaultProgressMon.

Here's what I have:

Opening (and doing something to) multiple documents (not main thread), using DefaultProgressMon to display running progress.

For each document I do a safe callback to open that document in pxv_Control. (all works as expected)

But, calling OpenDocFrom() even with NoProgress -> the DefaultProgressMon gets hidden.

I can "fix" this by calling Start (again and again, except for the last one) .. and the end result is ok.

But, I guess, this should not be working like that.

NoProgress should ignore the DefaultProgressMon's progress dialog completely, correct?

-žarko


-žarko
zarkogajic
User
Posts: 1430
Joined: Thu Sep 05, 2019 12:35 pm

Re: NoProgress in CreateOpenDocParams for OpenDocFrom  SOLVED

Post by zarkogajic »

Hi Support,

Seems like fixed in 394 version, thanks.

(even if NoProgress = false)

-žarko
Post Reply