PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

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

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

Enabling SelectTool

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...

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
Topic Author
Posts: 42
Joined: Mon Aug 31, 2015 11:38 pm

Re: Enabling SelectTool

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: 13078
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Enabling SelectTool

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

Who is online

Users browsing this forum: No registered users and 1 guest