void SendView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
m_wndChatUser.SetCurSel( 0 );
int nSel = m_wndChatUser.GetCurSel( );
//群发
CString s;
s.Format("%d",nSel);
AfxMessageBox(s);
}
提示框直接是-1,这是为什么?
void SendView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
m_wndChatUser.SetCurSel( 0 );
int nSel = m_wndChatUser.GetCurSel( );
//群发
CString s;
s.Format("%d",nSel);
AfxMessageBox(s);
}
提示框直接是-1,这是为什么?