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 / Visual Studio.NET / General / August 2003

Tip: Looking for answers? Try searching our database.

RichTextBox - no DragDrop event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard Carmel - 08 Aug 2003 23:45 GMT
There is no Drag and Drop events in the .NET RichTextBox
Control, however, if I simply add these events with the
correct syntax, it seems to work fine.  What is going on
here?  I would have thought that I could have implemented
some kind of interface to make it work....  Does the
compiler simply create events for anything that has proper
syntax regardles of whether the control supports that
event ?..  Could use some clarity.

Richard
John Eikanger [MSFT] - 11 Aug 2003 21:35 GMT
Hi, Richard

The RichTextBox control could not handle the event if it were not already
there. A CommandButton has a GiveFeedback event, but you get an error if
you try to create a handler for one with a RichTextBox.  My understanding
is that the events are there in the control but were not exposed in the IDE
for some reason.

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided ?AS IS? with no warranties, and confers no rights.
(c) 2003 Microsoft Corporation.  All rights reserved.
--------------------
| Content-Class: urn:content-classes:message
| From: "Richard Carmel" <rcarmel@edmp.com>
[quoted text clipped - 14 lines]
|
| Richard
John Eikanger [MSFT] - 13 Aug 2003 20:17 GMT
Hi, Richard

I just heard back that the reason that the visible links for DragDrop were
removed because the developers could not get it working with supportable
reliability.  They left the hooks in the code so that developers could
still work with the events.

I hope this clarifies things for you.,

John Eikanger
Microsoft Developer Support

This posting is provided ?AS IS? with no warranties, and confers no rights.
(c) 2003 Microsoft Corporation.  All rights reserved.
--------------------
| X-Tomcat-ID: 557372266
| References: <093401c35dfe$c8efa210$a001280a@phx.gbl>
[quoted text clipped - 38 lines]
| |
| | Richard

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.