Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / September 2005

Tip: Looking for answers? Try searching our database.

Adding a new class in the "New Class" dialog

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Seb - 13 May 2005 00:09 GMT
Hi,

We are using MSDev studio 6.0 and have many classes that derive from MFC.

Each time we create Property pages, dialogs, etc... the MSDev wizard only
offers the MFC classes as the base class.

How can we add our own classes in the list offered by the "New Class"
dialog?  (or, is there an alternate solution to this problem?)

Thank you,

Seb
Programmer at CAE.
BobH - 01 Aug 2005 11:15 GMT
If you haven't seen it yet, in the New Class disalog, change Class Type: to
Generic Class. Many times, the base class you want isn't listed. Pick
something like CWnd or
CCmdTarget, then delete what you don't need after the files are generated.

Signature

Bob

Seb - 22 Sep 2005 17:52 GMT
The method you described is what I've been doing many years.  What I would
like to do instead, is fully generate new classes based on my own base
classes, with macros, virtuals, etc...

I wrote my own class generator "wizard" but I need to delete the class
wizard and insert the files manually to my project afterwards.  I would like
to hook myself into the MS-Dev's "New Class" dialog instead.

> If you haven't seen it yet, in the New Class disalog, change Class Type: to
> Generic Class. Many times, the base class you want isn't listed. Pick
> something like CWnd or
> CCmdTarget, then delete what you don't need after the files are generated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.