Solved

Inserting a derived class in a dialog template

Posted on 2000-05-08
2
227 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 100 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
matchUp  challenge 6 82
Line meaning 9 96
scoreUp challenge 14 74
Change to event 1 135
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Suggested Courses

737 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