
01-08-2003, 05:13 AM
|
 |
Hell's Angel
Retired Moderator * Guru *
|
|
Join Date: Jul 2001
Location: Yorkshire, UK
Posts: 10,394
|
|
Would it not be easier to just use the OLEDragDrop event like this:
Code:
Private Sub Form_Load()
List1.OLEDropMode = vbOLEDropManual
End Sub
Private Sub List1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim i As Long
For i = 1 To Data.Files.Count
List1.AddItem Data.Files(i)
Next i
End Sub
|
__________________
A wise one man once said "what you talking about dog breath"
|