Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Class wizard and How to use it?

I am slowly learning C++ by a textbook, written for C++ 6. It uses term Class Wizard.
What is the name of this tool in Visual Studio 2005?
[142 byte] By [Recoil] at [2007-11-11 10:13:21]
# 1 Re: Class wizard and How to use it?
How to use clASS wizard?

I do not think they call it class wizard in VS2005, but in my textbook they do.
Recoil at 2007-11-11 20:59:15 >
# 2 Re: Class wizard and How to use it?
what are you really trying to do. "Connect two objects" could mean any of 20 things. The class wizard will either create a new class for you or let you add windows message handling (or even variables and methods, but you would normally just do this by hand) to existing classes. It is mostly useful for adding things like "on mouse move" to a region of your gui.
jonnin at 2007-11-11 21:00:15 >
# 3 Re: Class wizard and How to use it?
When I press a button it sends messege to the program.
To put out a corresponding simbol on the document area of my simple MFC application I have to use this.
WM_CHAR messege to class I created OnChar()
My goal is to link two.
I will research more.
Thanks.

__________________________________________
I was talking about OLP and linking object to task. :SICK:
Recoil at 2007-11-11 21:01:19 >
# 4 Re: Class wizard and How to use it?
I will be brief.

I am asking about a shortcut for creating classes and linking events.
(Events like pushing a button and getting a letter on the screen)
In VC++ 6 it was called Class Wizard

How it is called in Visual Studio?

I wana search some documentation on it.
Recoil at 2007-11-11 21:02:14 >
# 5 Re: Class wizard and How to use it?
________________________________________________________________________
To do a research, I need to know how C++ 6.0 ClassWizard is called in Visual Studio 2005.
Recoil at 2007-11-11 21:03:24 >
# 6 Re: Class wizard and How to use it?
It no longer seems to have a name in .net -- You can access the class creation wizard by right clicking over in the project files area and choosing it from that menu. You link events from the wysiwyg editor. Right click on the component and its event and you can select what class to put it in and all from there.

Is that what you wanted to know? I do not care to use it, the generated classes are very ugly and have nonsense in them. Such a tool is often called a class factory, which I like better seeing as how a wizard is a male magician and not a piece of software (no matter how mysterious that software might be) ...
jonnin at 2007-11-11 21:04:23 >
# 7 Re: Class wizard and How to use it?
Ironically, after my rant, I found that the event portion is called "event handler wizard"
jonnin at 2007-11-11 21:05:21 >
# 8 Re: Class wizard and How to use it?
Yes. Thanks.
Recoil at 2007-11-11 21:06:24 >