CStatic *m_static;
CEdit *m_edit;
CEdit *m_edit;
CMFCColorButton *m_mfcColorBtn;
m_static = new CStatic[8];
m_edit= new CEdit[9];
m_mfcColorBtn = new CMFCColorButton[2];
m_static[0].Create(L"***", WS_CHILD | WS_VISIBLE, rc, this);
m_static[0].SetFont(GetFont());
m_editLabel[0].CreateEx(WS_EX_CLIENTEDGE,L"EDIT",NULL,WS_CHILD | WS_VISIBLE | WS_TABSTOP,rc1,this,1);//注意类名称一定要是EDIT,不然创建不成功
m_edit[iIndex].Create(WS_VISIBLE | WS_CHILD |WS_BORDER | WS_TABSTOP,rc1this,1);//这钟视觉效果不好,建议使用上面一行的代码