Durandal66
Programmer
I have a list view that can have columns added and removed at run time. In this senes it can have anywhere between 0 and 30 columns, all user specified. Each column that is added has its header shown as well. What I need is the ability to click on the column header and display a context menu of some sort. Right now I have this working, but the problem is I need it to place the menu on the correct column header. I can calculate the x and y just fine for the first columns that are shown in the list view, but once I start to scroll off the original window, I loose that ability. I really need some way of finding out how far the list view has scrolled to the left or right, or the x location of the mouse click on the column headers. Anyone have any ideas or know where I should look?
Thanks,
-Andrew R.
Thanks,
-Andrew R.