Enabling SelectTool

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

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

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

Enabling SelectTool

Post by ap_mi »

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: 47
Joined: Mon Aug 31, 2015 11:38 pm

Re: Enabling SelectTool

Post by ap_mi »

In case anyone else looks for this...

setting property "Tools.Active" with value "SelectTool" worked.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17818
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Enabling SelectTool

Post by Tracker Supp-Stefan »

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