我创建了一个ATL工程。我想问一下是否可以在这个工程里应用“属性页控件”?
我的做法是这样的:
首先在资源试图区加入一个属性页资源,
然后派生成对应类 CMyPage1::CPropertyPage
到这步的时候,我编译了一下,结果发现有好多错误:
'CPropertyPage' : base class undefined
'CPropertyPage' : is not a class or namespace name
'classCPropertyPage' : undeclared identifier
'CMyPage1' : illegal member initialization: 'CPropertyPage' is not a base or member等等
诚心请教,谢谢帮忙!!!
e_mail:[email protected]
我的做法是这样的:
首先在资源试图区加入一个属性页资源,
然后派生成对应类 CMyPage1::CPropertyPage
到这步的时候,我编译了一下,结果发现有好多错误:
'CPropertyPage' : base class undefined
'CPropertyPage' : is not a class or namespace name
'classCPropertyPage' : undeclared identifier
'CMyPage1' : illegal member initialization: 'CPropertyPage' is not a base or member等等
诚心请教,谢谢帮忙!!!
e_mail:[email protected]
你可以包含MFC支持来使用。