I'm having difficulties determining the actual ASCII character code for keys pressed. If I press 'h' key the ASCII code should be 104 (lowercase h) but I'm always getting the code 72 which is uppercase 'H'.
Can anyone explain why this is and how do I manipulate it if I can't be sure what case the letter is? For example, suppose a user types a lowercase 'h' - I need to be able to change the character code so it's replaced by an uppercase 'H'.
Can anyone explain why this is and how do I manipulate it if I can't be sure what case the letter is? For example, suppose a user types a lowercase 'h' - I need to be able to change the character code so it's replaced by an uppercase 'H'.