I created the accelerator ctrl-H. How can I control when it
takes affect? For example, if the user has the cursor placed
in an edit box, say IDC_EDIT1, and hits ctrl-H, how can I
have this combination pop-up a dialog box. And if the user is
in edit box IDC_EDIT2 and hits ctrl-H, how can I have this
combination pop-up a different dialog box?

Any response any one can give me will be greatly appreciated.