views:

89

answers:

0

I've recently converted an MFC visual studio 6.0 project to a visual studio 2010 project and I'm experiencing problems whenever I try to add event handlers to controls on certain forms within my project. On one particular page I have a radio button and I've tried to add a click event handler to it using 3 different ways:

1) By right clicking on the radio button and clicking "Add Event Handler". This method results in no error messages but it does not create the event handler. It just closes the Event Handler Wizard out with no messages of any kind.

2) By right clicking on the radio button and clicking properties. In the properties window I click the events window (lightning bolt button). I then navigate to the click event and hit add handler. This method produces an error message window that says "Property value is not valid" and the details of this error message in the box below say "Catastrophic failure".

3) By adding the event handler through the class wizard. This results in the same results as described in number 1 above.

Notes about my project:

1) Running Windows XP SP3

2) Not all forms have this problem. On some forms I can add event handlers fine.

3) Whenever I receive the "Property value is not valid" error message this also breaks undo/redo functionality

4) Project contains FarPoint ActiveX controls