|
-
Sep 28th, 2000, 02:03 AM
#1
Thread Starter
Hyperactive Member
I wish to use the listview in a similar as a form of grid.
The view is set to details, and fullrowselect is true etc, you get the idea.
Does anyone have any idea how to detect the column (listsubitem) that corresponds to a mous hit?
If the horizontal scroll bar not scrolled at all, it is
is easy enough work out the mouse to current column by working out where mouse.x falls by adding the column widths.
However, if the view is scrolled at all, this obviously fails.
So, the question is, do you know how to either get the ListSubItem for a mouse hit in details view, or, work out the amount of scroll/scroll position on a listview.
Thanks in advance.
Andy.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
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
|