3,120
社区成员
发帖
与我相关
我的任务
分享
class CGridContainer : public CCoeControl
{
public:
CGridContainer();
virtual ~CGridContainer();
private:
CCMyGrid *iGrid; //grid控件
};
void CaaAppView::ConstructL(const TRect& aRect)
{
// Create a window for this application view
CreateWindowL();
// Set the windows size
SetRect(aRect);
// Activate the window, which makes it ready to be drawn
ActivateL();
iAppContainer = new(ELeave)CGridContainer; //这里都报错~~iAppContainer 为 CGridContainer* iAppContainer;
}