|
Problem trying to add a message handler to an MFC class -- igorcarajo --
Hello, I have the following problem with Visual C++ 2005. I have a custom class derived from CDialog. I want to add a message handler for the WM_CLOSE message. In the "Class View" I select the class, then I go to the properties window and select "Messages", then I select WM_CLOSE and click on "<Add> OnClose", and I get an error message that says "Add/Remove operation is impossible, because the code element 'ClassName' is read-only". Both my header and source files are read/write. Thanks in advance for any suggestions. |
|
-- maikwiege --
I read in an other thread that for there cases the problem was fixed by uninstalling the Internet Explorer 7 (beta?). In my case I have the problem and no IE7 installed, so perhaps my problem may be Windows XP x64. I Still didn't found a solution to fix it for me. :-( Hope you have IE7 installed! ;-) Greetings Maik |