Drag & Drop, files to a form
- From: pyrion@xxxxxx
- Date: Thu, 7 Aug 2008 07:51:34 -0700 (PDT)
I want users of my program to be able to drop files to my program.
Basically i know how to do it. The problem is the following:
My main form contains a lot of controls. I want the user be able to
drop files into my main form wherever they want (with the same
effect). I would love to have something like a "drag preview" just
like Key preview for my form.
The obvious solution to my problem would of course be to give every
control in my form the ability for dropping and redirect it to one
central routine. I would write such code, no problem. But one big part
of my form is a web browser. This stupid control handles dropping
itself. I can switch this off, but then it wont handle dropping at
all. There seems to be no way to interfere with that.
Another idea that i had was to place a transparent panel over my form
so that it gets all drop events. Problem would be of course that i
could not edit anything in my form anymore...
So does anybody have a good idea? Some way to preview drag events for
the form would be the nicest way, but i could not find anything about
it.
.
- Prev by Date: Re: Click listview column
- Next by Date: Re: System.Windows.Forms.SplitContainer Saving the splitter locati
- Previous by thread: Click listview column
- Next by thread: Re: System.Windows.Forms.SplitContainer Saving the splitter locati
- Index(es):
Relevant Pages
|
Loading