Inserting a derived class in a dialog template

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)





PeterKenAsked:
Who is Participating?
 
_mb_Connect With a Mentor Commented:
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
 
PeterKenAuthor Commented:
Thanks mb!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.