I am implementing tooltips for a CListCCtrl derived class
BOOL CMyListCtrl::OnToolTipText( UINT id, NMHDR * pNMHDR, LRESULT * pResult )
TOOLTIPTEXTA* pTTTA = (TOOLTIPTEXTA*)pNMHDR;
TOOLTIPTEXTW* pTTTW = (TOOLTIPTEXTW*)pNMHDR;
UINT nID = pNMHDR->idFrom;
if( nID == 0 )// Notification in NT from automatically
return FALSE; // created tooltip
I have done everything I think but nID is always false
I do handle OnToolHitTest and set the id of the row by hittesting. I do call enable tootips in PreSubClassWindow.
Anyone know why nID would always be Zero?