Couldn't you simply wire up the same eventhandler for all of your child
controls. This way you could use the same code to handle the drop.
You could loop through all of controls and wire up the events on the
fly. Just a suggestion although I will admit that this is not an area
I have a lot of experience with.
> Hi, I want to be able to drag and drop some files onto my application
> but it is only possible to drop at a location where I have no child
[quoted text clipped - 9 lines]
>
> Thanks
Mark Ingram - 29 Nov 2006 14:32 GMT
> Couldn't you simply wire up the same eventhandler for all of your child
> controls. This way you could use the same code to handle the drop.
> You could loop through all of controls and wire up the events on the
> fly. Just a suggestion although I will admit that this is not an area
> I have a lot of experience with.
Yeah, that's what I've had to do, I was hoping for a smoother method
than that :-/
Cheers,