Hi all,
I want to scroll horizontal in my grid (inherited from DataGridView). Not with Ctrl+scrolling tiltwheel (mousewheel), but by pushing the mousewheel to the left or the right.
First I tried it by catching the WM_MOUSEHWHEEL (0x020E) message in WndProc, but this fires only once (and I want to keep on moving left or right as long as I push).
I used Spy++ to check the messages of my control, but found nothing usefull :$ I checked the same on a Richtextbox (and notepad) and it seems that there is another message that fires : WM_HSCROLL (0x0114).
The richtextbox doesn't scroll horizontally by pushing the wheel left or right, but I can catch the WM_HSCROLL in the WndProc function. I can't do that in the DataGridView (the Message doesn't arrive there).
So I am wondering if there is a way to get this thing working?
Regards,
TakeItEasy