price said:
Thanks for the reply Mark. Pardon my lack of technical knowledge but the
programs in question have no help files. My assumption was that if the
program is running it must be some how (for lack of a better term)
"listening" for the key combinations so that when they are executed the
program can respond. I figured if that is the case there would be some way
to
detect them or a data base that they would be stored in that I could
check.
Well yes you are fairly correct. Windows applications work on messages and
events. A user presses a key and the OnKeyDown and OnKeyUp events fire
(there are others too). Depending on how the application code handles the
keystroke(s) a message is then send or a function is called to do some work.
Simply stated.
If an application has a user interface such as a menu, often the keystrokes
are shown in the form of underlined letters (e.g., Alt+F for File menu), or
keys after the menuitem's name (e.g., Ctrl-S for file save). Beyond that
it's hard to tell.
If you are interested there is a article here on the subject.
http://msdn2.microsoft.com/en-us/library/aa383743.aspx
BTW: you never have stated that program's name. Perhaps someone here is
familiar with this program.
Mark