Andrew Bond

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Do you have example how to drag drop C++ object? #2971
    Andrew Bond
    Participant

      Ray

      Thanks for the reply. I thought it was strange that you had not replied – most unusual.

      I have resolved the issue now, pretty much along the lines that you have suggested. I stream the object to XML format, send the XML via DropMaster to the second instance, and then re-create the object there based on the received XML.

      So this question is now answered.

      Andrew

       

       

      in reply to: Do you have example how to drag drop C++ object? #2932
      Andrew Bond
      Participant

        Does anyone from Raize Software monitor these forums?

        Andrew Bond
        Participant

          OK, thanks for confirming. I will just have to press the button on that central event handler…

          Thanks for the previous tip though.

          Andrew

          Andrew Bond
          Participant

            Thanks for the reply. Your suggestion worked, in that my main form now receives notification when a file is dropped onto certain parts of it.

            I now have a new problem. My application comprises several forms, some of which have their own DropTargets (which pick up dtfCustom items and work correctly).

            When I drop a file onto parts of the App’s that do not have their own DropTarget, my main form gets the notification. However, when I drop onto one of the forms that does have its own DropTarget, that form gets the notification.

            Is there an easy way of allowing the notification to “pass through” these forms and be picked up by the main form, but only when the dropped item is dtfFiles?

            I want to avoid adding special code to redirecting the original notification to the ‘highest’ form.

            Any suggestions would be gratefully received.

            Thanks

            Andrew

          Viewing 4 posts - 1 through 4 (of 4 total)