MouseWheel Event to PdfControl

PDF-XChange Editor SDK for Developers

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
sbe
User
Posts: 13
Joined: Thu Sep 08, 2016 7:01 am

MouseWheel Event to PdfControl

Post by sbe »

Hello,

I have a UserControl, which is above the PdfControl (see picture).
I want to scroll through the text box and you scroll the PDF.
So far I've tried the OnMouseWheel event to PdfControl pass but nothing happens when you scroll over the textbox.

Image

Hope you can help me.
sbe
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: MouseWheel Event to PdfControl

Post by Sasha - Tracker Dev Team »

Hello sbe,

I did not quite get what you want to do. Please provide more detailed description so we can advice further.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
sbe
User
Posts: 13
Joined: Thu Sep 08, 2016 7:01 am

Re: MouseWheel Event to PdfControl

Post by sbe »

Hello,
I want the PDF scrolling when I scroll the mouse over the textbox.
The textbox is an own UserControl.

sbe
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: MouseWheel Event to PdfControl

Post by Sasha - Tracker Dev Team »

Well, the focused element will handle the scrolling. If your text box is not focused it won't scroll.
And also, your description is still not detailed enough, it's even more complicated now. In your first message, you said that you want to scroll through the TextBox and in your next message you said the complete opposite.
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ