CTreeCtrl::HitTest returns NULL
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am sure that i am clicking inside the checkbox of a particular tree item. But still sometimes the handle to the item is coming as null. This is what i am doing... ::GetCursorPos(&point); ::ScreenToClient(m_tvItems.m_hWnd, &point); hItem = m_tvItems.HitTest(point,&uFlags); But why NULL?? What are the possibilities? Thanks -- modified at 1:29 Wednesday 5th October, 2005