all groups > dotnet windows forms designtime > march 2005 >
You're in the

dotnet windows forms designtime

group:

Control receiving Drag-Drop events at Design Time?


Control receiving Drag-Drop events at Design Time? Özden Irmak
3/28/2005 4:14:39 PM
dotnet windows forms designtime:
Hi,

I have a custom control which works on a custom Design-Time surface in my
application which is created using IDesignerHost and other necessary
interfaces...

I need this control to receive drag-drop notifications...I tried several
approaches like applying my custom controldesigner to this control (setting
GetHitTest to true on everywhere on control surface) and trying to catch
drag-drop related events but couldn't achieve anything...

Am I trying to do something impossible or can anybody help me?

Thanks in advance...

Regards,

Özden Irmak

Re: Control receiving Drag-Drop events at Design Time? joeycalisay
3/29/2005 10:43:03 AM
Is the control's AllowDrop property set?

--
Joey Calisay
http://spaces.msn.com/members/joeycalisay/


[quoted text, click to view]

Re: Control receiving Drag-Drop events at Design Time? Özden Irmak
3/29/2005 12:24:12 PM
Yes, it is. Tried setting it either at constructor or OnSetComponentDefaults
on ControlDesigner, did not change anything...

Özden

[quoted text, click to view]

Re: Control receiving Drag-Drop events at Design Time? joeycalisay
3/29/2005 7:56:57 PM
Oops I forgot that this was at designtime. Perhaps it is not possible with
the SelectionService interacting...

--
Joey Calisay
http://spaces.msn.com/members/joeycalisay/


[quoted text, click to view]

AddThis Social Bookmark Button