array button已完成。
void CGame1::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGame1)
DDX_Text(pDX, IDC_P1wdl, m_p1wdl);
//}}AFX_DATA_MAP
DDX_Control(pDX, IDC_P1b1, m_p1b[0][0]);
DDX_Control(pDX, IDC_P1b2, m_p1b[0][1]);
DDX_Control(pDX, IDC_P1b3, m_p1b[0][2]);
DDX_Control(pDX, IDC_P1b4, m_p1b[1][0]);
DDX_Control(pDX, IDC_P1b5, m_p1b[1][1]);
DDX_Control(pDX, IDC_P1b6, m_p1b[1][2]);
DDX_Control(pDX, IDC_P1b7, m_p1b[2][0]);
DDX_Control(pDX, IDC_P1b8, m_p1b[2][1]);
DDX_Control(pDX, IDC_P1b9, m_p1b[2][2]);
}
但bitmap button的话就越来越混乱了,请帮帮忙