Not a major request but it would be nice...
Currently the SDK gives notification messages for when the mouse is clicked in different areas of the viewer. This is great. One of the only places it does not give us a notification is in the scroll bars. The Context Menu that is displayed in the scroll bar area is, from what I can tell, somewhat standard Windows stuff. I would like to override this and display my own menu. Why you ask? Because my product manager likes being different. Seriously, we use Infragistics controls and their menus are a bit different than the standard windows.
Mouse click notifications for Scroll Bars...
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Mouse click notifications for Scroll Bars...
Hi, DSSavant
I understand you. But no way in current realization for this.
This feature will be added into the new version V3.
Best
Regards.
I understand you. But no way in current realization for this.
This feature will be added into the new version V3.
Best
Regards.
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.
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.
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: Mouse click notifications for Scroll Bars...
FWIW, please do not hold up V3.0 for this feature. This is "optional" in my book.
Thanks again!
Thanks again!
-
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
Re: Mouse click notifications for Scroll Bars...
pleasure
and thanks for your understanding.
and thanks for your understanding.
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.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 20
- Joined: Tue Apr 17, 2018 12:13 am
Re: Mouse click notifications for Scroll Bars...
What is the status of this? Has the ability to customize the context menu made it to production?
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Mouse click notifications for Scroll Bars...
Hi DSSavant.
Sorry for big delay with answer. This feature was added long time ago. You already are able to catch the R-Click notification over the scrollbars by:
HTH
Sorry for big delay with answer. This feature was added long time ago. You already are able to catch the R-Click notification over the scrollbars by:
Code: Select all
pdfCtl.SetProperty(name + "Notifications.Mouse.Filter", -1);
....
....
youreventhandler OnEvent(type, name, dataIn, dataOut, flags)
{
if (type == PXCVA_OnNamedNotify)
{
if (name == "Notifications.Mouse")
{
int msg = 0;
pdfCtl.GetProperty(name + ".msg", out msg);
if (msg == WM_RBUTTONDOWN)
{
string target, targetEx;
pdfCtl.GetProperty(name + ".TargetName", out target);
pdfCtl.GetProperty(name + ".TargetNameEx", out targetEx);
if (targetEx == "ScrollBar")
{
pdfCtl.SetProperty(name + ".Skip", true);
// show own context menu here
return;
}
}
}
}
}
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.
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.