Add OleDrag and OleDrop to VB6 user control (OCX)
Hi community. I’m looking for someone with more experience than me to implement an additional set of functions to the MB Extended ListBox control. Although this control is over 20 years old, I still use this (and most of his other controls as they are awesome) in my vb applications.
I have have reached out to the author, Marco Bellinaso and he was kind enough to send me the source code of his controls. I have tried to implement the drag and drop myself but I cant work out how to hook the drag and drop feature into the control.
The user control uses a list box control which does support the ole drag drop as standard. Just cant figure out for the life of me how to get it to work.
Is anyone able to offer their help? Happy to come to an agreement regarding time/cost to get this updated
Kind regards
Maddis
Re: Add OleDrag and OleDrop to VB6 user control (OCX)
Here is a recent topis which uses DragDetect on built-in ListBox control -- check if this will work out for you.
Otherwise post a link to control's sources on github.com and I'll send you a PR with Drag&Drop implementation. (First ask for permission and make sure to put a permissable OSS license.)
cheers,
</wqw>
Re: Add OleDrag and OleDrop to VB6 user control (OCX)
Hey, thanks for the reply. I have got drag and drop to work on my own basic user control but the MB List control uses api hooks which is out of my depth, so i have been unable to figure it out. I was on it for 8 hours yesterday until i gave up lol.
Sure, will do. Will message him now and request permission :)
Re: Add OleDrag and OleDrop to VB6 user control (OCX)
Quote:
Originally Posted by
wqweto
Otherwise post a link to control's sources on github.com and I'll send you a PR with Drag&Drop implementation. (First ask for permission and make sure to put a permissable OSS license.)
cheers,
</wqw>
Just to let you know I got permission. I can post it on Google drive as its not on git hub. Will that be ok?