Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Inserting a derived class in a dialog template

Posted on 2000-05-08
2
Medium Priority
?
232 Views
Last Modified: 2013-11-20
Is there an easy way to insert a derived class control (say CNumericEdit, a class derived from CEdit) into a dialog template using the VC++ Dialog Editor?

(I want the convenience of easily relocating controls that I have derived from the standard ones)





0
Comment
Question by:PeterKen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
_mb_ earned 400 total points
ID: 2790113
You can do it with the class wizard. If you add a member variable as control to your dialog class, then you can select CEdit derived classes from your current project for it.
0
 

Author Comment

by:PeterKen
ID: 2790646
Thanks mb!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

647 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