Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Listview DragDrop

1 view
Skip to first unread message

A. Walker

unread,
Nov 6, 2009, 1:32:33 AM11/6/09
to
Hello,
When I drag items inside my listview control it is difficult to imagine
where the dragged item will be inserted. To assist the user I want to
show/hide a single (grid)line at the current mouse position. I searched
the internet but didn't find something about that topic.

Peter Duniho

unread,
Nov 6, 2009, 1:46:20 AM11/6/09
to

First search hit on Google (".net listview drag insertion feedback"):
http://www.codeproject.com/KB/list/gListViewControl.aspx

In certain limited scenarios, the built-in support for the behavior may
suffice for you:
http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.insertionmark.aspx

A. Walker

unread,
Nov 6, 2009, 2:12:18 AM11/6/09
to
Peter Duniho schrieb:

Well thanks,
I used completly different words for my search and got no results.

Karl Mitschke

unread,
Nov 6, 2009, 11:51:11 AM11/6/09
to
Hello A. Walker,

Some people are gifted at google - my bride is one of those people.

I struggle with google myself ;)

Karl


Peter Duniho

unread,
Nov 6, 2009, 1:43:09 PM11/6/09
to
A. Walker wrote:
> Well thanks,
> I used completly different words for my search and got no results.

I figured as much. It's why I mentioned what keywords I _did_ use.
There's a whole art to feeding Google the words it needs for it to
provide the result you want.

As it happens, in this particular example, there are other valid
keywords that will also produce results, but different ones from what I
found. In any case, I hope by sharing the keywords that did produce
some results, that's helpful with respect to learning how to communicate
with Google better. :)

Pete

0 new messages