890817 - what's wrong with clicking on a control in a dockable pane?
-
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
-
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
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!
-
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!
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.
-
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.
Don't worry! My goal was not to blame you, but only to make you aware about cross-posting! :thumbsup:
-
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
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 toTRUE
. -
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 toTRUE
.the pane and the child window created in it are created dynamically, not loaded from a resource!