|
Windows XP and 7, Visual Studio 2008, MFC, C++
While working with some checkboxes I made an error and created the event handler in an incorrect class. I think I have recovered from that. But maybe not completely.
Now after creating a checkbox, the right click and Add Variable option is grayed out. I have tried deleting the following files: .ncb and .suo and .user and .aps, and deleted directory Debug. After a Clean and Rebuild the problem remains.
Does anyone have any suggestions as to how to resolve this problem?
Thanks for your time
|
|
|
|
|
There is no point in randomly deleting files unless you understand their purpose. It may be that you have left some unconnected data that is confusing the class wizard, which holds its information in the .clw file. However, make sure you keep a backup copy of this file before deleting it.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Those were not random deletions. They were named in anaother forum. I have collected a list of files that have become corrupt and caused problems.
In the meantime I think I have figured out how to add control variable manually. The jury is still deliberating, but so far it appears to work.
Thanks for your time
|
|
|
|