MQL5 ReferenceStandard LibraryPanels and DialogsCBmpButtonPressed CreateBorderBmpNamesBmpOffNameBmpOnNameBmpPassiveNameBmpActiveNamePressedLockingOnSetZOrderOnCreateOnShowOnHideOnMoveOnChangeOnActivateOnDeactivateOnMouseDownOnMouseUp Pressed (Get method) Gets the state ("Pressed" property) of the control. bool Pressed() const Return Value Control state. Pressed (Set method) Sets the state ("Pressed" property) of the control. bool Pressed( const bool pressed // state ) Parameters pressed [in] New control state. Return Value true - successful, otherwise - false. BmpActiveName Locking