15,979
社区成员
发帖
与我相关
我的任务
分享
BOOL CDDlg::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
// TODO: Add your specialized code here and/or call the base class
LPNMHEADER phdn = (LPNMHEADER)lParam;
if(HDN_ITEMCHANGINGA == phdn->hdr.code || HDN_ITEMCHANGINGW == phdn->hdr.code)
{
CString str;
str.Format(_T("%d"), phdn->iItem);
AfxMessageBox(str);
}
return CDialog::OnNotify(wParam, lParam, pResult);;
}