'CBitmapButton' : base class undefined ???

While trying to convert an eVC++ project to VS2005, when I do a build I get the following error:

error C2504: 'CBitmapButton' : base class undefined      

The line of code in question is just my own class being derived like so.
class CMyBmpButton : public CBitmapButton

How can I solve this?
Wanting2LearnManAsked:
Who is Participating?
 
alexey_gusevConnect With a Mentor Commented:
probably install SP1 for VS2005, nice and helpful MS folks deleted this class from MFC8 originally
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
Requirements  
Header: afxext.h

Does that help?
0
 
Wanting2LearnManAuthor Commented:
No this did not solve the problem.  Any more ideas?

Thanks
0
 
Wanting2LearnManAuthor Commented:
OK will give that a try.  Thanks.
0
 
Wanting2LearnManAuthor Commented:
Problem solved.

 Thanks
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.