MQL5 ReferenceStandard LibraryPanels and DialogsCButtonPressed CreatePressedLockingOnSetTextOnSetColorOnSetColorBackgroundOnSetColorBorderOnSetFontOnSetFontSizeOnCreateOnShowOnHideOnMoveOnResizeOnMouseDownOnMouseUp Pressed (Get method) Gets the state ("Pressed" property) of the control. bool Pressed() const Return Value "Pressed" property of the control. 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. Create Locking