Workable but nagging issue w/CDialog -- mouse events and drags flow through to the chart

 

I got my big issues with CDialog worked out thanks to Manuel Alejandro Cercos Perez -- appreciate the suggestion Manuel!

A nagging issue is that when I click on a button on the dialog, if I move the mouse at all while clicking, it scrolls the chart behind it.  Similarly, dragging within the body of the dialog does the same thing (other than in the caption) , and a mouse over within the dialog will show tooltip text of any chart objects behind it (like an EMA line or whatever.

Wondering if anyone has some tips on how to keep the CDialog a priority to the drag and mouseover events.

Not a big deal, but it is nagging.  Fortunately I don't have Parkinsons or I'd be having a hard time with it.

Thanks for any ideas....

Manuel Alejandro Cercos Perez
Manuel Alejandro Cercos Perez
  • 2022.06.21
  • www.mql5.com
Trader's profile
Reason: