Change cursor before tab change

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

User avatar
MartinCS
User
Posts: 153
Joined: Thu Apr 07, 2011 10:01 am

Change cursor before tab change

Post by MartinCS »

Hi,

is it possible to change the cursor back, e.g. hand tool, when the user switches to another open tab of another document? I'm using VB.NET and tried to set the Windows.Forms.Cursor but it doesn't affect when I move the mouse over the activeX control.


Thank you!

Martin
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7370
Joined: Wed Mar 25, 2009 10:37 pm

Re: Change cursor before tab change

Post by Paul - PDF-XChange »

Hi Martin,

the cursor will be dependent on the active tool. You would have to make the "Hand Tool" active to get that cursor I believe.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Change cursor before tab change

Post by Vasyl - PDF-XChange »

Hi, Martin.

Paul is right, thanks. :)
You may activate "Hand" tool by:

Code: Select all

ctrl.SetProperty("Tools.Active", "Hand", 0);
HTH
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
User avatar
MartinCS
User
Posts: 153
Joined: Thu Apr 07, 2011 10:01 am

Re: Change cursor before tab change

Post by MartinCS »

Hi Paul and Vasyl,

it works. :D You guys are great! It's a great pleasure to work with your product!

Thank you for your work and your help!!!

Best,
Martin
User avatar
Chris - PDF-XChange
Site Admin
Posts: 797
Joined: Tue Apr 14, 2009 11:33 pm

Re: Change cursor before tab change

Post by Chris - PDF-XChange »

Glad to hear :wink:
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.


Chris Attrell
Tracker Sales & Support North America
http://www.tracker-software.com