I have been trying to use the MyTabCtrl based on CTabCtrl from the CoderSource.net forum.
However I get the following error:
2>c:\mcspms_emu\ms_emu\ms_emulation\mytabctrl.h(5) : error C2504: 'CTabCtrl' : base class undefined
The area is shown below:-
// CMyTabCtrl window
class CMyTabCtrl : public CTabCtrl <--- Error Line
{
// Construction
public:
CMyTabCtrl();
CDialog *m_tabPages[6];
int m_tabCurrent;
int m_nNumberOfPages;
// Attributes
public:
Has the Base class changed, as I am using Visual Studio 2005.
Many thanks.
However I get the following error:
2>c:\mcspms_emu\ms_emu\ms_emulation\mytabctrl.h(5) : error C2504: 'CTabCtrl' : base class undefined
The area is shown below:-
// CMyTabCtrl window
class CMyTabCtrl : public CTabCtrl <--- Error Line
{
// Construction
public:
CMyTabCtrl();
CDialog *m_tabPages[6];
int m_tabCurrent;
int m_nNumberOfPages;
// Attributes
public:
Has the Base class changed, as I am using Visual Studio 2005.
Many thanks.