DocumentationMQL5 ReferenceStandard LibraryPanels and DialogsCWndDeactivateDeactivateDeactivateDeactivates the control.virtual bool Deactivate()Return Value true - successful, otherwise - false.Note The control becomes inactive when the mouse cursor is out off the control.Last updated on 2026-07-24ActivateStateFlags