Search code examples
c++windows-messages

Windows system message constants in C++


I was looking at some various sample code for processing mouse click events in C++ using a Windows system message hook, and thought that this would be a great way to process key presses that are usually only sent to the system, such as CTRL, ALT, SHIFT, etc. I was wondering if someone has a complete list of input constants (like WM_RBUTTONDOWN and WM_LBUTTONDOWN) or knows where to find one. Specifically, I would like to know which message constants are for keyboard inputs.
Thanks


Solution

  • In addition to the link included in Donatalo's answer, this link goes to the list of keyboard constants - Virtual key codes, that I think you are looking for.