ClassWizard is screwing up, and I can't fix
-
I have a dialog with some controls on it. I wish to make member variables for these controls. The problem is that in the ClassWizard, not all the IDC_* values show up, and some show up that aren't (but were) there. :confused: In trying to fix this problem, I've re-numbered my resource.h file, and checked the .rc file - both are 'correct' - the .rc has all the proper IDC_* values, and no dupes exist in resource.h. I've saved and reloaded, reverified everything. To this day ClassWizard instists that there is no IDC_WITH control but there is a IDC_LASTNAME control. (I had renamed IDC_LASTNAME to IDC_SO_LASTNAME, now BOTH show up, but only the IDC_SO_ one is in the .rc file. Please help!
-
I have a dialog with some controls on it. I wish to make member variables for these controls. The problem is that in the ClassWizard, not all the IDC_* values show up, and some show up that aren't (but were) there. :confused: In trying to fix this problem, I've re-numbered my resource.h file, and checked the .rc file - both are 'correct' - the .rc has all the proper IDC_* values, and no dupes exist in resource.h. I've saved and reloaded, reverified everything. To this day ClassWizard instists that there is no IDC_WITH control but there is a IDC_LASTNAME control. (I had renamed IDC_LASTNAME to IDC_SO_LASTNAME, now BOTH show up, but only the IDC_SO_ one is in the .rc file. Please help!
Recently I had a similar problem and workedaround it like follows:
- Make a backup of your project just in case the thing fails.
- Copy your
.rc
,resource.h
andres
directory to some new directory. Delete all these from your project. - Open your project, then open the
.rc
and drag and drop all resources to the project.
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
Recently I had a similar problem and workedaround it like follows:
- Make a backup of your project just in case the thing fails.
- Copy your
.rc
,resource.h
andres
directory to some new directory. Delete all these from your project. - Open your project, then open the
.rc
and drag and drop all resources to the project.
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
I have a dialog with some controls on it. I wish to make member variables for these controls. The problem is that in the ClassWizard, not all the IDC_* values show up, and some show up that aren't (but were) there. :confused: In trying to fix this problem, I've re-numbered my resource.h file, and checked the .rc file - both are 'correct' - the .rc has all the proper IDC_* values, and no dupes exist in resource.h. I've saved and reloaded, reverified everything. To this day ClassWizard instists that there is no IDC_WITH control but there is a IDC_LASTNAME control. (I had renamed IDC_LASTNAME to IDC_SO_LASTNAME, now BOTH show up, but only the IDC_SO_ one is in the .rc file. Please help!
-
I've tried deleting the class wizard file (clw) and rebuilding. I can find the control and add a handler, andit adds it to the right class, but I can't add it as a member control.
What kind of control is it? If it's a radio button, then you'll only see the ID for the first one in the group (for obvious reasons). Regards, Alvaro
All you need in this life is ignorance and confidence, and then success is sure. -- Mark Twain