MQL5 ReferenceStandard LibraryPanels and DialogsCBmpButtonOnActivate CreateBorderBmpNamesBmpOffNameBmpOnNameBmpPassiveNameBmpActiveNamePressedLockingOnSetZOrderOnCreateOnShowOnHideOnMoveOnChangeOnActivateOnDeactivateOnMouseDownOnMouseUp OnActivate The virtual handler of control "Activate" internal event. virtual bool OnActivate() Return Value true - event processed, otherwise - false. OnChange OnDeactivate