What do TranslateKey and CryptEncode do?

 

The manual says about TranslateKey:

"Returns a Unicode character by a virtual key code considering the current input language and the status of control keys."

Does that mean I can print Unicode characters in my labels and buttons, for example? Apparently, not. I couldn't find a single Unicode sequence that would work.

If you are too curious, I wanted to insert up and down arrow keys in my labels and buttons, but that is beside the point now. I just want to learn about the purpose of the function as it doesn't seem to serve the purpose I thought it did.


I'm also wondering about CryptEncode. What practical uses does it have?

 
  1. No idea what you mean by sequence.
  2. Just paste the characters into your code. “↕, ↑, ↓, →, ←, ↔”
              HTML Symbols | HTML Emojis
              ALT codes for windows
Reason: