ClassWizard a programmer's assistant for Microsoft Visual Studio: it makes it easier to do certain routine tasks such as creating new classes, defining message handlers, overriding MFC virtual functions, and gathering data from controls in a dialog box, form view, or record view.
Questions tagged [classwizard]
12 questions
9
votes
2 answers
How to make an ATL COM class derived from a base class?
The "ATL simple object" wizard doesn't provide a way to specify that a new class is derived from an existing coclass and its interface. In Visual Studio 2008, how do I make a new ATL COM class derived from an existing one (i.e. Base implements…

Qwertie
- 16,354
- 20
- 105
- 148
4
votes
1 answer
Visual Studio ClassWizard error
I am getting ClassWizard startup error for my class in MSVC 2013.
---------------------------
Microsoft Visual Studio
---------------------------
Failed to retrieve controls of dialog 'XYZ'.
---------------------------
OK
…

vt.
- 1,325
- 12
- 27
3
votes
3 answers
Failed to return new code element, Possible syntax error
I have 2 radio button under a group box and i made first one group as true. but when i am adding radio button variable the it showing message "Failed to return new code element possibly a syntax error", what would be the reason?

Suri
- 3,287
- 9
- 45
- 75
2
votes
0 answers
Visual Studio Class Wizard - failed to retrieve controls of dialog
If I try in Visual Studio 2019 run class wizard for some dialog, the error "Failed retrieve controls of dialog 'IDD.....' is shown. But after it is class wizard opened and work properly.
But I am interesting, why it throw this error.
Dialog is…

Michal Hadraba
- 347
- 1
- 11
2
votes
1 answer
Customising ClassWizard in VS2010
With the advent of VS2010 SP1, I'm once again looking at moving off VS2008 to the newer version. The main reason for this, is that as a long time VC6 user, I find ClassWizard to be a great productivity tool, and welcome its long awaited return. …

SmacL
- 22,555
- 12
- 95
- 149
2
votes
5 answers
MS VC++ 6 class wizard
Ok, I'm developing an application that has been in pretty much continous development over the last 16 years, from C in DOS, through various flavours of C++ and now is largely based around C++ with MFC and StingRay GUIs and various other SDKs.
While…

SmacL
- 22,555
- 12
- 95
- 149
1
vote
0 answers
MFC Class Wizard will not delete a control's member variable
I'm using VS 2019, working in C++. I created a property page with a few combo boxes and edit controls. For reasons I don't understand, the dialog editor decided one of the "custom" member variables in the class was attached to one of the Edit…

Gregg H
- 167
- 1
- 10
1
vote
0 answers
I can't display Classwizard anymore in MFC project in VS 2019
My project started out years ago. Now using VS 2019.
Whilst I can right-click and add event handlers (since it uses a new VS wizard), and I can right-click the class and add generic variables (since it uses a new VS wizard) I can't display class…

Andrew Truckle
- 17,769
- 16
- 66
- 164
1
vote
0 answers
Class Wizard in VS2013 doesn't create Attribute methods for OCX control
I have a legacy application that was built with VC++6.0 that uses an OCX control. I have upgraded the application to build with VS2013. Initially I got it to build and run successfully but when I tried to regenerate the ocx.h and ocx.cpp file…

JonN
- 2,498
- 5
- 33
- 49
1
vote
2 answers
How to delete the default button in CPropertySheet Wizard MFC application?
Hey guys..I am designing a set-up wizard using CPropertySheet and CpropertyPage in MFC application...I have completed the design but the thing is..In normal CProperty Sheet there are four default buttons "BACK NEXT FINISH HELP"...but I want only…

kiddo
- 1,596
- 7
- 31
- 60
0
votes
1 answer
Can I import a class into ClassWizard in VS2010
Is there a way in VS2010 to import a class from a .h and .cpp file into ClassWizard such that I can use ClassWizard to manipulate it (e.g. add variables etc...) Quite a number of the files that I brought into the project when I moved over from…

SmacL
- 22,555
- 12
- 95
- 149
0
votes
0 answers
MFC: Visual Studio Resource Editor Class Wizard doesn't have all control IDs under Member Variables
I've run into this a few times, don't recall what I did to fix it last time (probably started all over). Here's what I did:
I copied an existing CMFCPropertySheet dialog box and pasted as new one then edited the dialog ID to IDD_MINE, deleted all…

df234987
- 513
- 2
- 13