DocumentationMQL5 ReferenceStandard LibraryPanels and DialogsCWndContainerOnActivateOnActivateOnActivateThe virtual handler of control “Activate” internal event.virtual bool OnActivate()Return Value true - event processed, otherwise - false.Note The base class method does nothing and always returns true.Last updated on 2026-07-24OnResizeOnDeactivate