I have a dialog written in VC++ as shown below:
Label1 Control1
Button1
If Control1 is disabled, using Label1’s hotkey results in Button1’s Click event. How could I avoid that? As Control1 is disabled shouldn’t the hotkey for Label1 too?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If it’s a CStatic, have you tried disabling it at the same time as the control it’s referencing?