Class Wizard in .NET.

  • Thread starter Thread starter bmwrob
  • Start date Start date
B

bmwrob

In VC 6.0 I could easily add a function to handle a system message
e.g. WM_TIMER. But it seems that is not possible in .NET or? Any
ideas on how to do it without manually add the code?

BR /// Rob
 
bmwrob said:
In VC 6.0 I could easily add a function to handle a system message
e.g. WM_TIMER. But it seems that is not possible in .NET or? Any
ideas on how to do it without manually add the code?

It's in the (ugh) Properties box. One of those stupid icons at the top is
for the messages list.
 
Jeff said:
It's in the (ugh) Properties box. One of those stupid icons at the top is
for the messages list.

So where exactly is this "Properties" box? Let's try the Edit menu
(where I might expect a Class Wizard replacement to be), nope it's not
there. Let's try right-clicking on the window containing the code I am
working on, well, there is a lot of stuff in that menu but still no
"Properties" option. Oh well, we'll try the window that contains the
list of file names and right click on the name of my file, ah yes,
there is a "Properties" option there, but it doesn't have any icons and
appears to be compile and link options so this is not the correct one
either. OK (getting annoyed now) we'll try the class list (have to
think now what the name of the class is I am working on and search for
that in the list) Ah, here is another "Properties" option and it has
some icons, lets try all the icons and see what happens, one shaped
like a little diamond appears to be what I want. How difficult is this
guys? Why did you delete Class Wizard? Did you ask what we wanted
before you decided what we would get?

The only reason I am using dot net is because I am forced to to link in
some MSVC7 DLLs from another company, otherwise we all use version 6 in
this company.

O.C.
 
Old Codger said:
So where exactly is this "Properties" box? Let's try the Edit menu
(where I might expect a Class Wizard replacement to be), nope it's not
there. Let's try right-clicking on the window containing the code I am
working on, well, there is a lot of stuff in that menu but still no
"Properties" option. Oh well, we'll try the window that contains the
list of file names and right click on the name of my file, ah yes,
there is a "Properties" option there, but it doesn't have any icons and
appears to be compile and link options so this is not the correct one
either. OK (getting annoyed now) we'll try the class list (have to
think now what the name of the class is I am working on and search for
that in the list) Ah, here is another "Properties" option and it has
some icons, lets try all the icons and see what happens, one shaped
like a little diamond appears to be what I want. How difficult is this
guys? Why did you delete Class Wizard? Did you ask what we wanted
before you decided what we would get?

The only reason I am using dot net is because I am forced to to link in
some MSVC7 DLLs from another company, otherwise we all use version 6 in
this company.

O.C.
If the Properties Window is not being displayed (as it is by default, in the
lower right) for the class in question, the View menu offers the Properties
Window (F4) selection. With the Properties Window open, click the button on
the window toolbar that bears the yellow lightning bolt icon.
If you are referring to the MFC Class Wizard, right-click on your solution
in Solution Explorer, select Add->Add Class..., then select the type of
class you wish to add.
Hope this helps.
 
Back
Top