|
-
May 27th, 1999, 02:20 AM
#6
Re: CListCtrl Report
In NM_CLICK use
SubItemHitTest(LPLVHITTESTINFO HitInfo)
This will return the iItem and iSubItem (in HitInfo structure). You also get the info whether the click was made on the item icon or item label or above or below or to the left or to the right of the client area of the list control.
If click is made on the item,
iItem = Item index and
iSubItem = 0
If the click is made on the subitem
iItem = SubItem's parent item
iSubItem = SubItem index
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
|