i want to build a class for a dialog using the ObjectARX MFC Class Wizard,but Dialog ID box is red cross, nothing could be choosed,Dialog IDs(IDD_DIALOG1 AND IDD_DIALOG2) have been built, i can not find the solution, help me! thank you!
You have to temporarily change the parent class from the Autodeskl MFC class to the raw MFC class nameand then try,,,
e.g Change AcUiDialog back to CDialog, run the resource wizard, then change it back.
Not our fault, it's MS fault. 🙂
Cheers
Fenton Webb
Autodesk Developer Network
Could someone give a step-by-step for this. I have the same issue, and I don't see where to make the change described in the solution. Here is what I am doing (wrong).
1. I create the dialog in the resource file
2. Right-click source file and select "add", then class.
3. Select ObjectARX and MFC Support Class Wizard, give it a name, and get an Internet Explorer Script Error.
4. Click yes to get to the MFC Class wizard box, which looks like the original poster's attachment.
I have no choices in the pulldowns to make any changes.
I also have selected MFC from the installed templates and chose MFC Class, after which I have the option to select CDialog as the base class, but after selecting this, I still have no choice for the autocad version. I tried running the ObjectARX MFC Class Wizard as described before after doing this, but get the same result as before running the MFC Class template.
Thanks,
Ralph Gaston
Found the answer here:
switching the file names fixed it for me.