I want to know if the ALT key is currently pressed.
To know if the CTRL is currently pressed i use:
if(GetKeyState(VK_CTRL) & 0x8000)
How to get the ALT key state? The Visual C++ doesn't recognise the VK_ALT constant.
Please, provide a short code as an answer. Thanks.