IsAltKeyDown (key_code)

Returns TRUE if the ALT key is down for key_code. key codes contain the CTRL and ALT key state.

key_code is a numeric keyboard value that is returned by GetKey and KeyFromChar. You can use CharFrom­Key to convert a key_code into a character.