我的这个双击事件编译成功,但运行不了
双击事件实现功能为在一个列表中获得值,然后在另外一个界面中显示部分值,怎么改才能让其运行成功,求帮助void CFdasfDlg::OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult)
{
// TODO: Add your control notification handler code here
m_Num = 1;
ababababab bb;
int pos = m_Gri.GetSelectionMark();
bb.m_Grid.InsertItem(i,"");
bb.m_Grid.SetItemText(i,0,m_Gri.GetItemText(pos,0));
bb.m_Grid.SetItemText(i,0,m_Gri.GetItemText(pos,1));
bb.m_Grid.SetItemText(i,0,m_Gri.GetItemText(pos,5));
*pResult = 0;
}