CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 1999
    Posts
    407

    UserControl doesn't receive DragDrop Event...

    Hi,
    I've created a UserControl and I need to add dinamically to a form and allow the user to do a drag and drop operation with it. The problem, is that the control doesn't recevie the DragDrop event on itself. Any idea??? Or some related link that explain the implementation of drag and drop for visual editing applications, will be appreciated.

    Thanks in advance !!!!!


  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: UserControl doesn't receive DragDrop Event...


    'how about:
    UserControl_OLEDragDrop(Data as DataObject, Effect as Long, Button as Integer, Shift as Integer, X as Single, Y as Single)
    '?





    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Apr 1999
    Posts
    407

    Re: UserControl doesn't receive DragDrop Event...

    Thanks by the answer but it still doesn't work.
    Any idea???

    ThanX !!!!


  4. #4
    Join Date
    Apr 2002
    Posts
    388

    Re: UserControl doesn't receive DragDrop Event...

    had a problem like you. found solution at:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;q196131

    mfg Ungi

    Music, music and VB. VB is like music: You never know how it is interpreted.

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

Featured