Keyboard messages in a Modal Dlg
Posted on 1997-06-12
I have a modal dialog box which in which I would like to do "something" when a key is pressed (i.e. F4, pageup, page down, +, -, 1, 2, 3). I tried onkeydown and onchar, but those do not work.
In addition, I would like to know if there is a way to disable or enable certain keys. There are cases where I only want the user to be able to use the numeric keypad and not allow for any alpha characters.
If you have any information, email me at email@example.com
Have a good day,