Notifications.Mouse.Filter = All is not surfacing mouse click events.

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

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

Post Reply
User avatar
Shaun Luttin
User
Posts: 20
Joined: Tue Apr 17, 2018 12:13 am

Notifications.Mouse.Filter = All is not surfacing mouse click events.

Post by Shaun Luttin » Tue May 08, 2018 1:44 am

We read the documentation on Mouse Notifications here: http://help.tracker-software.com/DEV/de ... ions_mouse

We have set this:

Code: Select all

viewer.SetProperty("Notifications.Mouse.Filter", "All");
viewer.OnEvent += On_ViewerEvent;
We have also this event handler.

Code: Select all

void On_ViewerEvent(object sender, _IPDFXCviewEvents_OnEventEvent e) {
    System.Diagnostics.Debug.WriteLine($"{e.type} {e.name}");
}
When we left click on the PDF, we were expecting to see "Notifications.Mouse" events. We are not seeing those. Instead, we are only seeing the following two events on left and right click.

Code: Select all

4 Global::FocusGained
4 Notifications.ContextMenu
How can we make "Notifications.Mouse" events show up in the event handler on left click?

Edit: We have read this topic: viewtopic.php?f=36&t=6321&hilit=Notific ... use.Filter and are wondering whether the PDF Viewer SDK build that we are using has a bug in the mouse notification events.

User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 1946
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Notifications.Mouse.Filter = All is not surfacing mouse click events.

Post by Vasyl-Tracker Dev Team » Thu Jun 07, 2018 7:50 pm

Hi, Shaun Luttin.

We cannot reproduce any problem with catching all mouse events when "Notifications.Mouse.Filter" is set to "All" (-1 - is equivalent value).
Can you provide simple example app to reproduce it? Also please check which version of our SDK you using. May be it is too old..

Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

Post Reply