|
-
May 11th, 1999, 03:50 PM
#1
controlling an accelerator
Currently, if I create an accelerator for a dialog box, the dialog box
will pop up when I execute the accerelator no matter where I am. Is
there a way I can create an accelerator that I can control. I am trying
to write something where if the user executes the accelerator (ctrl-h)
and if the users cursor was in the following edit box, IDC_EDIT1, then
popup this dialog box. While if the user is in a different edit box
(IDC_EDIT2) at the time of executing the accelerator, then popup this
other dialog box.
If I could just figure out how the accelerator is executed, then I think
I could write sometype of if-statement in the OnDraw() function to
control this.
Any response anyone can give me will be greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|