I'd like to know what the ASCII codes for the toggle keys of the keyboard. I want to make the mouse clicks do different thing when the Caps Lock, or Scroll Lock is pressed. Walt
win32 api function GetKeyState() and goto this link for find out more:- http://msdn.microsoft.com/en-us/library/ms646301(VS.85).aspx