NMITEMACTIVATE NMItemAct;
NMItemAct.iItem = nItem;
NMItemAct.iSubItem = nSubItem;
NMHDR hdr;
hdr.hwndFrom = m_listTime.m_hWnd;
hdr.idFrom = IDC_LIST_TIME;
hdr.code = NM_CLICK;
NMItemAct.hdr = hdr;
::SendMessage(m_listTime.m_hWnd, WM_NOTIFY, NM_CLICK, (LPARAM)(&NMItemAct.hdr));
NMItemAct.iItem = nItem;
NMItemAct.iSubItem = nSubItem;
NMHDR hdr;
hdr.hwndFrom = m_listTime.m_hWnd;
hdr.idFrom = IDC_LIST_TIME;
hdr.code = NM_CLICK;
NMItemAct.hdr = hdr;
::SendMessage(m_listTime.m_hWnd, WM_NOTIFY, NM_CLICK, (LPARAM)(&NMItemAct.hdr));