I wrote a program which render overlay in game, showing some additional info. I can detect keyboard and some of mouse keypresses by using GetKeyState, however there is no Virtual Key Code for scroll up and down which I would like to use as well.
I know that scroll is handled more in a way of an event, rather than keypress, but that doesn't really help. So is there any solutions for my problem?
Things that came to my mind:
- Detect scroll events by some function?
- Somehow get Windows Messages sent to game in my program (thats called Hooking IIRC)
I'm using Visual Studio 2013 Express [C++]