I had developed a small application based on win32 API. It is made up of a window which has its own controls (Edit Box, Button, List View, scroll bar, ...)
I am doing well so far. Now I am trying to define some short keys like Ctrl+L and Ctrl+S, the WM_CHAR is not working properly.
As defined by MSDN documentation, wParam of WM_CHAR holds the ASCII code of the char being pressed. But as I am debugging the OnChar procedure (that handles WM_CHAR), the wParam appeared to be as below:
On the other hand, I wrote some code to handle the Tab and Shift+Tab, it worked properly. The wParam showed the below:
So I am receiving the Tab char and then I am checking if the VK_SHIFT was down or not.