Multiple Instances of TPXV_Control

PDF-XChange Editor SDK for Developers

Moderators: Tracker Support, TrackerSupp-Daniel, Paul - Tracker Supp, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

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
jeffp
User
Posts: 854
Joined: Wed Sep 30, 2009 6:53 pm

Multiple Instances of TPXV_Control

Post by jeffp » Wed Oct 26, 2016 8:56 pm

I'm just checking back on a post I made earlier this year about having the ability to have multiple instances of TPXV_Control in the same application with each having their own IPXV_Inst.

In my application, I need a control that acts as a PDF Editor and one that acts as a PDF Previewer, each of which needs its own settings, etc. With the old ViewerAX I could just create two instances of that control.

You mentioned several months ago you were going to take another look at this.

Is there now a way to accomplish this with the new Editor SDK?

--Jeff

User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 1922
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Multiple Instances of TPXV_Control

Post by Vasyl-Tracker Dev Team » Thu Oct 27, 2016 1:54 am

You mentioned several months ago you were going to take another look at this.
Unfortunately, we were very busy with other important tasks - so currently I can say only: no, it still not implemented, sorry.
Biggest problem with that - its not to easy to make something like "isolated apartments" when we talking about general IPXV_Inst object. Because currently it is just single and root object of whole Editor API. To have possibility to allow create many instances of IPXV_Inst - the big part of Editor SDK must be refactored deeply before. But currently we still have many other tasks with high priority too and we haven't enough resources to do your task now. We planning to do it, but I cannot promise you when it can be done..
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

jeffp
User
Posts: 854
Joined: Wed Sep 30, 2009 6:53 pm

Re: Multiple Instances of TPXV_Control

Post by jeffp » Thu Oct 27, 2016 4:08 am

Ok. Fair enough. Just glad to know you are planning on it at some future date.

I'll bug you again about it in a few months. :-)

--Jeff

User avatar
Sasha - Tracker Dev Team
User
Posts: 4087
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Multiple Instances of TPXV_Control

Post by Sasha - Tracker Dev Team » Thu Oct 27, 2016 5:20 am

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

jeffp
User
Posts: 854
Joined: Wed Sep 30, 2009 6:53 pm

Re: Multiple Instances of TPXV_Control

Post by jeffp » Thu Jan 19, 2017 3:15 pm

Just checking back again to see if this is going to be in the cards for a future release?

--Jeff

User avatar
Sasha - Tracker Dev Team
User
Posts: 4087
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Multiple Instances of TPXV_Control

Post by Sasha - Tracker Dev Team » Thu Jan 19, 2017 3:29 pm

Hello Jeff,

As far as I know - not for this one yet.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Erickc
User
Posts: 46
Joined: Tue Apr 12, 2016 2:36 pm

Re: Multiple Instances of TPXV_Control

Post by Erickc » Fri Mar 02, 2018 4:30 pm

Hello there!
As we may have a need for this feature, I'm doing a quick check with you guys at Tracker to see if there is any updates about its availability.
Cheers,
Eric

User avatar
Sasha - Tracker Dev Team
User
Posts: 4087
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Multiple Instances of TPXV_Control

Post by Sasha - Tracker Dev Team » Sat Mar 03, 2018 8:20 am

Hello Erickc,

Just asked one of our lead devs about this - he said that we won't be doing this now and we can't give you any eta either.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

jeffp
User
Posts: 854
Joined: Wed Sep 30, 2009 6:53 pm

Re: Multiple Instances of TPXV_Control

Post by jeffp » Thu Dec 27, 2018 10:29 pm

Any more thought on this one? Is it something you plan on doing in an upcoming build?

--Jeff

User avatar
Sasha - Tracker Dev Team
User
Posts: 4087
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Multiple Instances of TPXV_Control

Post by Sasha - Tracker Dev Team » Fri Dec 28, 2018 7:44 am

Hello Jeff,

Not for the upcoming build, that's for sure.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

RoGraf
User
Posts: 13
Joined: Tue Mar 20, 2018 10:39 am

Re: Multiple Instances of TPXV_Control

Post by RoGraf » Fri Jan 18, 2019 11:46 am

Unfortunately we have the same issue with the single INST. Actually we also open multible XChange-Viewers an it works fine - we only get the Events from the used instance. With the new Editor this is not possible, because every "instance" of the Editor gets all Events of all open documents.
Is there a chance to raise the priority - its clearly a lot of structural work to do to enable multible instances of the core, but we realy need it.

User avatar
Sasha - Tracker Dev Team
User
Posts: 4087
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Multiple Instances of TPXV_Control

Post by Sasha - Tracker Dev Team » Fri Jan 18, 2019 11:50 am

Hello RoGraf,

The IPXV_Inst object is the same for the controls in the same process thus the events are handled by it's event server. Think of the control as a wrapper class. Physically, there are two IPXV_MainFrames. You can try getting the main frame that the event is being handled at to distinguish them. Though it depends on your usage.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply