![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Drag Drop - Move Data Between Apps I want to drag drop data from one app to another. If the other app chooses to ‘move’ the data, I need to respond by deleting it from the source app. I was reading about the GiveFeedBack event. See: http://msdn.microsoft.com/en-us/libr...efeedback.aspx It states “If the value of DragAction is Drop, the drop effect value is returned to the source, so the source application can perform the appropriate operation on the source data; for example, cut the data if the operation was a move.” OK, that’s exactly what I want to do but what event is fired to tell me the drop effect? Unfortunately, the documentation doesn’t say. I don’t see any event getting fired including the DragDrop event. Any ideas? Thanks, Mike |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Drag Drop - Move Data Between Apps The Control.DoDragDrop method return value will indicate the action that the atregt took. --------- - G Himangi, LogicNP Software http://www.ssware.com Shell MegaPack: Drop-In GUI Controls For Windows Explorer Like File And Folder Browser Functionality CryptoLicensing: Add licensing, copy-protection and activation to your software EZNamespaceExtensions: Fast and painless development of namespace extensions EZShellExtensions: Rapid development of all shell extensions,explorer bars and BHOs --------- "Mike" <MLM450@xxxxxx> wrote in message news:8e44d514-e8c8-46e5-912a-1a08f0415d48@xxxxxx I want to drag drop data from one app to another. If the other app chooses to ‘move’ the data, I need to respond by deleting it from the source app. I was reading about the GiveFeedBack event. See: http://msdn.microsoft.com/en-us/libr...efeedback.aspx It states “If the value of DragAction is Drop, the drop effect value is returned to the source, so the source application can perform the appropriate operation on the source data; for example, cut the data if the operation was a move.” OK, that’s exactly what I want to do but what event is fired to tell me the drop effect? Unfortunately, the documentation doesn’t say. I don’t see any event getting fired including the DragDrop event. Any ideas? Thanks, Mike |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Drag Drop - Move Data Between Apps On Jul 7, 6:07*pm, Mike <MLM...@xxxxxx> wrote: Quote: > I want to drag drop data from one app to another. If the other app > chooses to ‘move’ the data, I need to respond by deleting it from the > source app. of free code out there, there's always something going wrong when you try and implement it. And I notice many programs today have gotten away from using D&D, which was popular about 5 to 10 years ago. I would just stick a menu item and be done with it. To me, D&D is not that intuitive, as to what exactly it's supposed to do (when you drop another program onto it). It's a gimmick IMO. RL |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Drag Drop - Move Data Between Apps Thanks G! That was it. I was misunderstanding the DoDragDrop. I thought it immediately returned and everything was done with events after that. On Jul 8, 2:27*am, "G Himangi" <nos...@xxxxxx> wrote: Quote: > The Control.DoDragDrop method return value will indicate the action that the > atregt took. > > --------- > - G Himangi, * LogicNP Software * * *http://www.ssware.com > Shell MegaPack: Drop-In GUI Controls For Windows Explorer Like File And > Folder Browser Functionality > CryptoLicensing: Add licensing, copy-protection and activation to your > software > EZNamespaceExtensions: Fast and painless development of namespace extensions > EZShellExtensions: Rapid development of all shell extensions,explorer bars > and BHOs > --------- > > "Mike" <MLM...@xxxxxx> wrote in message > > news:8e44d514-e8c8-46e5-912a-1a08f0415d48@xxxxxx > I want to drag drop data from one app to another. If the other app > chooses to ‘move’ the data, I need to respond by deleting it from the > source app. > > I was reading about the GiveFeedBack event. > See:http://msdn.microsoft.com/en-us/libr....forms.control..... > > It states “If the value of DragAction is Drop, the drop effect value > is returned to the source, so the source application can perform the > appropriate operation on the source data; for example, cut the data if > the operation was a move.” > > OK, that’s exactly what I want to do but what event is fired to tell > me the drop effect? Unfortunately, the documentation doesn’t say. I > don’t see any event getting fired including the DragDrop event. > > Any ideas? > > Thanks, > Mike |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| drag and drop | .NET General | |||
| Unable to copy, paste, move, drag and drop or delete | General Discussion | |||
| drag and drop | Vista General | |||
| No Drag and Drop? | Vista mail | |||
| Access denied trying to "md"? Drag & Drop is now drag, drop, OK, OK ???? | Vista installation & setup | |||