-
March 27th, 2013, 04:31 AM
#1
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!
-
March 27th, 2013, 04:45 AM
#2
Re: Point of ListView. what row (item) and column is?
CListCtrl::HitTest
CListCtrl::SubItemHitTest
Victor Nijegorodov
-
March 27th, 2013, 06:15 AM
#3
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.
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|