-
UserControl Drag to Windows Explorer
Created a UserControl on a Form in VB6. All in same project.
I need to be able to drag from the usercontrol to windows explorer to do a file copy.
I know how to do this with a ListView sitting on a form.
Even though the UserControl_OLEStartDrag is available, it is not functional. i,e, it does not trigger when a leftmousedown+mousemnove occurs.
I have seen that this a COM thing that prevents this, but there must be a way to do this.
Can someone show me some sample code that works.
I have already got code to raise an event within the usercontrol when a leftmousedown+mousemove occurs, but cannot get the parent form to initialize the dataobject.
Maybe there is another way but I can't figure that out.
Any help or suggestions would be appreciated.
-
I don't know if this is your problem or not; but it might help.
Drag-and-Drop in UserControls
-
DragStart not DragDrop
I have no problem with DragDrop.
I cannot get DragStart etc to work.
I want to drag from the USerControl to something outside the application.
THis is do-able from a ListView or other control sitting on a form using OLEDragStart etc. but this will not function from a UserControl.
Anybody else have suggestions?
Similar Threads
-
Replies: 1
Last Post: 02-12-2003, 11:46 PM
-
Replies: 0
Last Post: 10-28-2002, 12:57 PM
-
By MGZ in forum VB Classic
Replies: 0
Last Post: 10-03-2001, 12:38 AM
-
By sha in forum VB Classic
Replies: 0
Last Post: 01-24-2001, 12:20 PM
-
By sha in forum VB Classic
Replies: 0
Last Post: 01-24-2001, 12:20 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks