Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Drag and drop through group controls?

Drag and drop through group controls?

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionlearning
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dominik Reichl
    wrote on last edited by
    #1

    Hello! I have created a custom edit control that uses COleDropTarget to accept/insert text drops. This works very fine. However, when putting the edit control into a group control in the resource editor of Visual C++, the group control prevents the edit control from getting drag&drop notifications. Is there any way to make the group control "forward" the drag&drop notifications? Or any other way such that the edit control sees the drop? Best regards Dominik


    Too many passwords to remember? Try KeePass Password Safe!

    J T S 3 Replies Last reply
    0
    • D Dominik Reichl

      Hello! I have created a custom edit control that uses COleDropTarget to accept/insert text drops. This works very fine. However, when putting the edit control into a group control in the resource editor of Visual C++, the group control prevents the edit control from getting drag&drop notifications. Is there any way to make the group control "forward" the drag&drop notifications? Or any other way such that the edit control sees the drop? Best regards Dominik


      Too many passwords to remember? Try KeePass Password Safe!

      J Offline
      J Offline
      Jagdish V Bhimbha
      wrote on last edited by
      #2

      Hello.... As per my knowledge there will be some drop target ambiguity arises while u drops text on group. Check your code well for this ambiguity...! Good Luck...:rose:

      Jagdish Bhimbha S/W Developer

      1 Reply Last reply
      0
      • D Dominik Reichl

        Hello! I have created a custom edit control that uses COleDropTarget to accept/insert text drops. This works very fine. However, when putting the edit control into a group control in the resource editor of Visual C++, the group control prevents the edit control from getting drag&drop notifications. Is there any way to make the group control "forward" the drag&drop notifications? Or any other way such that the edit control sees the drop? Best regards Dominik


        Too many passwords to remember? Try KeePass Password Safe!

        T Offline
        T Offline
        tsy19860303
        wrote on last edited by
        #3

        ????????!!!!!! :)

        H 1 Reply Last reply
        0
        • D Dominik Reichl

          Hello! I have created a custom edit control that uses COleDropTarget to accept/insert text drops. This works very fine. However, when putting the edit control into a group control in the resource editor of Visual C++, the group control prevents the edit control from getting drag&drop notifications. Is there any way to make the group control "forward" the drag&drop notifications? Or any other way such that the edit control sees the drop? Best regards Dominik


          Too many passwords to remember? Try KeePass Password Safe!

          S Offline
          S Offline
          Saurabh Garg
          wrote on last edited by
          #4

          I don't know how to do this properly but does this[^] workaround helps? -Saurabh

          D 1 Reply Last reply
          0
          • S Saurabh Garg

            I don't know how to do this properly but does this[^] workaround helps? -Saurabh

            D Offline
            D Offline
            Dominik Reichl
            wrote on last edited by
            #5

            Yes, thanks a lot! I've changed the tab order such that the group control comes after the edit control, and now it works perfectly.


            Too many passwords to remember? Try KeePass Password Safe!

            S 1 Reply Last reply
            0
            • D Dominik Reichl

              Yes, thanks a lot! I've changed the tab order such that the group control comes after the edit control, and now it works perfectly.


              Too many passwords to remember? Try KeePass Password Safe!

              S Offline
              S Offline
              Saurabh Garg
              wrote on last edited by
              #6

              Great! You are welcome. -Saurabh

              1 Reply Last reply
              0
              • T tsy19860303

                ????????!!!!!! :)

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #7

                It was a test or a reply(question)? ;)

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups