Map F1-F15 keys to their corresponding virtual key codes before adding them into the accelerator table.
Query virtual key codes for non-alpha-numeric keys so that they work correctly on all keyboard layouts.
If we get an invalid virtual key code or the key is a shifted character sharing with one of the numeric keys, then we intentionally remove the shortcut from the menu item. An example of this is the '/' key on German keyboard layout, which is sharing with '7' key.