MQL5 ReferenceStandard LibraryPanels and DialogsCWndContainerOnActivate DestroyOnEventOnMouseEventControlsTotalControlControlFindAddDeleteMoveShiftIdEnableDisableShowHideMouseFocusKillSaveLoadOnResizeOnActivateOnDeactivate OnActivate The 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. OnResize OnDeactivate