Dragging and dropping contact information from Messenger

Discussion in 'Windows MSN Messenger' started by Martin Dill, Jul 1, 2003.

  1. Martin Dill

    Martin Dill Guest

    I am developing an application, and I would like to add support for dragging
    contacts from MSN Messenger into my app. Now, Messenger does support drag
    and drop, in the sense that my app receives DragEnter and DragDrop events
    when I drag a contact to it. The problem is, Messenger doesn't actually
    associate any data with these events - in C# terms, e.Data.GetFormats()
    returns an array of length 0. So even though drag 'n drop capabilities
    exist, there appears to be no direct way of using it.

    I am wondering if anyone has any suggestions for alternative ways of doing
    this. I had a look through the Messenger APIs, and the only one that looks
    like it could be of any use, DMsgrObjectEvents::OnUserDropped, is listed as
    'Not currently supported' by MSDN (and it might not even be talking about
    the same kind of 'drop', anyway). Is there a way of programmatically
    acquiring information about the currently selected contact, or some other
    method I might use? Why does Messenger support drag and drop at all, if
    there's no way to actually make use of it?

    As an aside, are there any programming-specific Messenger groups that I
    should post this to?

    Thanks in advance.

    Martin Dill
    NewHeights Software
    Martin Dill, Jul 1, 2003
    1. Advertisements

  2. Martin Dill

    Martin Dill Guest


    Martin Dill, Jul 3, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.