Is there anyway to allow the hex editor to scroll using a mouse wheel on mouse over, while not focusing. I don't mind modifying the source, but I have found a way yet to enable this functionality. Any help on this would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there anyway to allow the hex editor to scroll using a mouse wheel on mouse over, while not focusing. I don't mind modifying the source, but I have found a way yet to enable this functionality. Any help on this would be appreciated.
Scrolling while not focused is no Windows standard. Why do you need that?
I was trying to get the behavior similar to Hex Editor Neo (which allows the hex editor to be scrolled on mouse over, without focusing.)
Edit:
After thinking awhile, In the end, I've decided I will modify HexBox to focus when the scrollbar is clicked instead.
Thank you for your time.
By the way, this is the best Hex control for .NET. Outstanding job with this control.
Thanks,
Mike
Last edit: vectorman 2014-05-29
Thank you :)
What you need is a low-level mouse hook...
http://blogs.msdn.com/b/toub/archive/2006/05/03/589468.aspx
Catch the wheel events and forward them to the hexbox control and call OnMouseWheel there...
Thank you for the quick reply. I will take a look at that code.
Thanks again,
Mike