Point of ListView. what row (item) and column is?
Hi!
If we work with a ListView,and want implement some functions like OnLBDblClick(), we only have a CPoint, but not the column and row that this point suppose. How can i Know that, is there a nother type of functions that gave us the row and column?
Thanks!
Re: Point of ListView. what row (item) and column is?
CListCtrl::HitTest
CListCtrl::SubItemHitTest
Re: Point of ListView. what row (item) and column is?
BTW, what notification did you mean that is about to use OnLBDblClick() handler?
FYI. there is NM_DBLCLK notification from a list view control that passes a pointer to NMITEMACTIVATE structure which contains item and subitem indexes as well as some other useful parameters.