3,119
社区成员




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;
}