DocumentationMQL5 ReferenceStandard LibraryPanels and DialogsCBmpButtonOnMouseDownOnMouseDownOnMouseDownThe virtual handler of control “MouseDown” event.virtual bool OnMouseDown()Return Value true - event processed, otherwise - false.Last updated on 2026-07-24OnDeactivateOnMouseUp