PC Review


Reply
Thread Tools Rate Thread

dragndrop; i.e. from explorer to my application

 
 
Michael Maercker
Guest
Posts: n/a
 
      26th Oct 2004
hi! i come from vb6 and am wondering:

what happened to ole_drag/drop?

and how can implement dragndrop from the explorer (or any other file list,
i.e. winamp) into my listbox in c#? i've done it all in vb6; strange that
it's so different in c#...

i'm trying to figure it out just now and i sortta got stuck when i noticed
that not even the mousecursor changes as i would expect it to, when i set
"allowdrop = true"; although "dragenter" is triggered...

does anyone have a codesnippet at hand that he (or she) can just cutnpaste?
thanks!

mike



 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      26th Oct 2004
Michael,

Check out the section of the .NET framework titled "Performing
Drag-and-Drop Operations in Windows Forms", located at (watch for line
wrap):

http://msdn.microsoft.com/library/de...operations.asp

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (E-Mail Removed)

"Michael Maercker" <(E-Mail Removed)> wrote in message
news:417e5dac@news-fe-01...
> hi! i come from vb6 and am wondering:
>
> what happened to ole_drag/drop?
>
> and how can implement dragndrop from the explorer (or any other file list,
> i.e. winamp) into my listbox in c#? i've done it all in vb6; strange that
> it's so different in c#...
>
> i'm trying to figure it out just now and i sortta got stuck when i noticed
> that not even the mousecursor changes as i would expect it to, when i set
> "allowdrop = true"; although "dragenter" is triggered...
>
> does anyone have a codesnippet at hand that he (or she) can just
> cutnpaste?
> thanks!
>
> mike
>
>
>



 
Reply With Quote
 
 
 
 
Michael Maercker
Guest
Posts: n/a
 
      27th Oct 2004
thanks, that oughtta get me going!


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY keepout@yahoo.com.invalid Windows Vista General Discussion 15 16th Sep 2007 01:50 AM
Making more memory available to application?Im making a memory intense application, the application is supposed to open a prettylarge image (about 9200*10200 in 300Dpi) yosh@liquidzone.net Microsoft Dot NET Framework Forms 0 6th Dec 2004 08:16 PM
application.exit, application.exitthread exit application problem =?Utf-8?B?TWlrZSBTaWx2ZXI=?= Microsoft Dot NET Framework Forms 2 24th Nov 2004 04:14 AM
Event ID: 4097 - The application, explorer.exe, generated an application error mikasarg Microsoft Windows 2000 0 3rd Mar 2004 12:15 PM
Application popup: Explorer.EXE - Application Error : The instruction at "0x77f57ec4" referenced memory at "0x00000067". The memory could not be "written". Max Windows XP General 3 18th Dec 2003 06:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:45 AM.