还有一个问题就是按钮、下拉框等按键可以关联按键数组变量;

如下拉框;

CComboBox m_ComID[5];

void CProjiectDlg::DoDataExchange(CDataExchange* pDX)
{

DDX_Control(pDX, IDC_COMBO3, m_ComID[0] );
DDX_Control(pDX, IDC_COMBO4, m_ComID[1] );
DDX_Control(pDX, IDC_COMBO5, m_ComID[2] );
DDX_Control(pDX, IDC_COMBO6, m_ComID[3] );
DDX_Control(pDX, IDC_COMBO7, m_ComID[4] );

}

相关文章:

  • 2021-12-14
  • 2022-12-23
  • 2021-11-30
  • 2021-10-21
  • 2021-12-26
  • 2022-12-23
  • 2021-12-17
  • 2021-12-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-08-05
相关资源
相似解决方案