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. 890817 - what's wrong with clicking on a control in a dockable pane?

890817 - what's wrong with clicking on a control in a dockable pane?

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
6 Posts 2 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.
  • I Offline
    I Offline
    ilostmyid2
    wrote on last edited by
    #1

    hi my custom window inserted in a CDockablePane object does not receive mouse click, while a button or a list box inserted in the same pane receives it. the pane is dragged when i click on the control instead. what's the problem and how can i resove it? thx

    S 2 Replies Last reply
    0
    • I ilostmyid2

      hi my custom window inserted in a CDockablePane object does not receive mouse click, while a button or a list box inserted in the same pane receives it. the pane is dragged when i click on the control instead. what's the problem and how can i resove it? thx

      S Offline
      S Offline
      Sauro Viti
      wrote on last edited by
      #2

      Please, do not post the same question on multiple forums: that doesn't increase your chances to get an answer but make people wasting their time answering the same things twice. Thank you!

      I 1 Reply Last reply
      0
      • S Sauro Viti

        Please, do not post the same question on multiple forums: that doesn't increase your chances to get an answer but make people wasting their time answering the same things twice. Thank you!

        I Offline
        I Offline
        ilostmyid2
        wrote on last edited by
        #3

        hi apologize i didn't mean that. i thought that i couldn't post the first one in a correct forum. so, i come here and posted in in C/C++/MFC forum.

        S 1 Reply Last reply
        0
        • I ilostmyid2

          hi apologize i didn't mean that. i thought that i couldn't post the first one in a correct forum. so, i come here and posted in in C/C++/MFC forum.

          S Offline
          S Offline
          Sauro Viti
          wrote on last edited by
          #4

          Don't worry! My goal was not to blame you, but only to make you aware about cross-posting! :thumbsup:

          1 Reply Last reply
          0
          • I ilostmyid2

            hi my custom window inserted in a CDockablePane object does not receive mouse click, while a button or a list box inserted in the same pane receives it. the pane is dragged when i click on the control instead. what's the problem and how can i resove it? thx

            S Offline
            S Offline
            Sauro Viti
            wrote on last edited by
            #5

            I'm not sure that it is the solution, but you can try to add the DS_CONTROL style to your window (see What is the DS_CONTROL style for?[^] for more informations). You can do it from the Resource Editor: open your dialog and on its properties, set Control to TRUE.

            I 1 Reply Last reply
            0
            • S Sauro Viti

              I'm not sure that it is the solution, but you can try to add the DS_CONTROL style to your window (see What is the DS_CONTROL style for?[^] for more informations). You can do it from the Resource Editor: open your dialog and on its properties, set Control to TRUE.

              I Offline
              I Offline
              ilostmyid2
              wrote on last edited by
              #6

              the pane and the child window created in it are created dynamically, not loaded from a resource!

              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