please anybody help.......... somebody! anybody! please!!
I have two listviews. Using any one of the scroll bars i must be able to move the contents of the both list views.
right now its working with thumb tacks, but when using the scroll bar itself(that is the bar and not the arrow) there is no life.
same i am facing when using the mouse to scroll..
as of now i am able to scroll the list views, when using the thumb tacks, but if i an pressing once in the First list view, the contents int he Second list view gets scrolled twice.
I have acheived this much using overridding of WndProc()
Hopefully someone will hear me out!,
Roger http://forum.codecall.net/images/icons/icon9.gif
Unhappy
I'm sorry to hear about your woes, Roger. Do you have IntelliSense or AutoLists when you write programs? I mean, when you type the word "this" followed by a dot (.), do you get a list of all the properties? If so, take a browse through them. Hopefully there should be something related to the Selection - I'm not sure about ListViews, but I know that Textboxes have a SelectionStart and a SelectionLength property. Try looking around - there may be a property you can change the synchronise the two lists.
Hi Xav,
The problem with ListView in C#.Net is that it doesn't have a scroll property that you can use to capture or read changes. I created a custom ListView control by overriding the WndProc() so that i could get the scroll to capture. Created a Scroll event handler and a property for the scroll too. Managed to scroll the first one to scroll the second one but that isn't enough. Only the thumbtracks are making motion of content, the scroll bars when dragged do not change content in any way at all!
That's the issue I've been facing!
Anyways, thanks for trying.. I really appreciate that.
-
Roger
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks