>Tamar,
>
>Do I need to set the parameters some how. I the method I see the the following but need to Identify what keys are pressed.
>
>"LPARAMETERS nKeyCode, nShiftAltCtrl"
>
>Or do I set this in the somewhere else as a reference.
At runtime, when the KeyPress event occurs, those two parameters are passed in to the method for you. You examine their values to figure out what to do.
For example, if Alt-D was pressed, the values passed in would be
nKeyCode = 100
nShiftAltCtrl = 4
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up