How does text work in the indexnavigator control?

PDF-XChange Editor SDK for Developers

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, 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.
RMan
User
Posts: 242
Joined: Tue Jul 02, 2013 10:06 pm

How does text work in the indexnavigator control?

Post by RMan »

m_spDestBeforeAfter->put_Count(2);
m_spDestBeforeAfter->SetStrings(CComBSTR(L"Before\nAfter"));
m_spDestBeforeAfter->UpdateItems(0, 2);
m_spDestBeforeAfter->put_SelIndex(m_insertDest.after ? 1UL : 0UL);

We get 2 buttons but they just give a number and not the actual text.
Destination.jpg
You do not have the required permissions to view the files attached to this post.
RMan
User
Posts: 242
Joined: Tue Jul 02, 2013 10:06 pm

Re: How does text work in the indexnavigator control?

Post by RMan »

Also is there any easy way to make it work with your built-in translations. I'm guessing these are the string ID's for inserting pages.
InsertPosCtl.Destination = 13527
InsertPosCtl.Location = 13528
InsertPosCtl.BeforeAfter = 13529
InsertPosCtl.Page = 13530
InsertPosCtl.Pages = 13531
InsertPosCtl.ExactEdit = 13532
InsertPosCtl.Total = 13533
User avatar
Sean - PDF-XChange
Site Admin
Posts: 1333
Joined: Wed Sep 14, 2016 5:42 pm

Re: How does text work in the indexnavigator control?

Post by Sean - PDF-XChange »

Hi RMan,

I've asked the development team for their input here.

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623