I've got some complicated keystrokes that I'de like to display to the user in a readable format.
In the help page for INKEY() function there is a table of keycodes that are returned by INKEY() and KeyPress() functions. Does anyone know of a procedure to convert the KeyCode and Modifier (Shift,Ctrl,Alt) into human readable form of the key pressed? (Or do I get to roll my own?)
An example of the functionality i'de like to duplicate is in MS Word, if you go to the View->Toolbars->Customize menu option then click on the "Keyboard" button a screen comes up where you can specify shortcuts. Put your cursor in the textbox below the "Press new shortcut key" label and then hit something like "Ctrl+Alt+D". The program records the keystroke and stuffs "CTRL+ALT+D" into the textbox.
Any ideas?
-- Dave
--
David Mann
Software Developer
"I don't believe in 'isms', I just believe in me" -- Ferris Bueller