Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / March 2005

Tip: Looking for answers? Try searching our database.

Control receiving Drag-Drop events at Design Time?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
?zden Irmak - 28 Mar 2005 14:14 GMT
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
joeycalisay - 29 Mar 2005 03:43 GMT
Is the control's AllowDrop property set?

Signature

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

> Hi,
>
[quoted text clipped - 14 lines]
>
> ?zden Irmak
?zden Irmak - 29 Mar 2005 10:24 GMT
Yes, it is. Tried setting it either at constructor or OnSetComponentDefaults
on ControlDesigner, did not change anything...

?zden

> Is the control's AllowDrop property set?
>
[quoted text clipped - 17 lines]
>>
>> ?zden Irmak
joeycalisay - 29 Mar 2005 12:56 GMT
Oops I forgot that this was at designtime.  Perhaps it is not possible with
the SelectionService interacting...

Signature

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

> Yes, it is. Tried setting it either at constructor or OnSetComponentDefaults
> on ControlDesigner, did not change anything...
[quoted text clipped - 22 lines]
> >>
> >> ?zden Irmak

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.