Real author:
Original by MetaQuotes Software Corp. Modifications by Doerk.
This file replaces the WndContainer.mqh original file. One new function and two small modifications prevent the chart from being affected, when you click and hold the mouse inside a container window, i.e. when you press a button which is placed inside a dialogue, move a slider or anything similar. The replacement works also with the CDialog class and should not affect anything in a negative way.
The easiest way is to replace the original file, but please create a backup from the original, just in case if you encounter any problems which I currently could not find.
Recommendations:
- Please backup your original WndContainer.mqh file first.
- New function: VerifyMouseFocus() — private, called automatically.
- Modified: OnEvent() and OnMouseEvent() which are used for any interactions.