Results 1 to 4 of 4

Thread: Add OleDrag and OleDrop to VB6 user control (OCX)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2020
    Posts
    16

    Post 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
    Last edited by Maddis; Nov 20th, 2021 at 08:55 AM. Reason: Typo

  2. #2
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,167

    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>

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2020
    Posts
    16

    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

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Aug 2020
    Posts
    16

    Re: Add OleDrag and OleDrop to VB6 user control (OCX)

    Quote Originally Posted by wqweto View Post
    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?
    Last edited by Maddis; Nov 20th, 2021 at 05:12 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
  •  



Click Here to Expand Forum to Full Width