Event handler for a dynamically created control
-
I have created an Edit control dynamically with the help of CEdit class using the CreateEx member funtion...How to add a message handler funtion for that control. For example KeyPress event i want to handle. I would be greatfull if anybody let me know the answer for this question. Reg Guru
-
I have created an Edit control dynamically with the help of CEdit class using the CreateEx member funtion...How to add a message handler funtion for that control. For example KeyPress event i want to handle. I would be greatfull if anybody let me know the answer for this question. Reg Guru
try using class wizard Aizik Yair Software Engineer
-
try using class wizard Aizik Yair Software Engineer
Copy the code, generated for edit events in a dialog by classWizard, to your project. Note, that you must specify unique ID for the edit for correct message handling.