Enabling SelectTool

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

Post Reply
ap_mi
User
Posts: 42
Joined: Mon Aug 31, 2015 11:38 pm

Enabling SelectTool

Post by ap_mi » Thu Jul 19, 2018 5:16 pm

Hello,

By default, the pdf-xchange viewer starts off with the HandTool cursor. My goal is to change this so that when the viewer is shown the SelectTool is the active cursor. How can I accomplish this?

I've tried the following...

Code: Select all

m_pPDFControl->DoVerb(NULL, "ExecuteCommand", _bstr("SelectTool"), &DataOut, 0);
...but no luck.

Using version 2.5.322.8.

Any help is appreciated.

Thanks.

ap_mi
User
Posts: 42
Joined: Mon Aug 31, 2015 11:38 pm

Re: Enabling SelectTool

Post by ap_mi » Thu Jul 19, 2018 6:03 pm

In case anyone else looks for this...

setting property "Tools.Active" with value "SelectTool" worked.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13320
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Enabling SelectTool

Post by Tracker Supp-Stefan » Fri Jul 20, 2018 8:20 am

Hello Ap Mi,

Glad to hear you found the solution yourself, and thanks for sharing it! Hope it will be useful to someone else as well!

Cheers,
Stefan

Post Reply