Code: Select all
void CMyDialog::OnButtonNext()
{
// TODO: Add your control notification handler code here
int nIndex = m_Combo.GetCurSel();
nIndex++;
m_Combo.SetCurSel(nIndex);
SendMessage(m_Combo.m_hWnd, ON_CBN_SELCHANGE, NULL, NULL);
}
Code: Select all
error C2065: 'ON_CBN_SELCHANGE' : undeclared identifier
Acest mesaj este tratat undeva in dialog, totusi, acest mesaj nu-l recunoaste compilatorul ...