Solved

Creating new class..

Posted on 1998-10-31
2
176 Views
Last Modified: 2013-11-20
i know you can add new classes by going to the class wizard and filling in the dialog box.. is there a way to derive from a class if the class isn't listed in that dialog box? i mean, i know i can do it by hand, but then the class isn't listed in class wizard..

specifically, i want to derive a class from CodeGuru's CCtrolBarEx found in the mfcxlib.. it just seems like a pain to have to over ride all the virtual functions by hand..
0
Comment
Question by:rabbitears
2 Comments
 
LVL 2

Accepted Solution

by:
jstolan earned 50 total points
ID: 1324101
Go to menu item "Insert" submenu "Class....", then move the list box entry from "MFC class" to "Generic Class".  Now you can type a name for your new class and enter anything you want in the "Derived from" list box.  You will have to manually add the include file to point to the h file of the class you're deriving from.  Sorry it won't know about the virtual functions from your parent class though.
0
 

Author Comment

by:rabbitears
ID: 1324102
guess that will work..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 53
how to monitor remote shell execution on linux 9 97
WinWaitActive parameters 12 31
building a service to accessed via telnet client, want colors ? 4 80
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now