MQL5参考标准程序库面板和对话框CButtonOnMouseDown CreatePressedLockingOnSetTextOnSetColorOnSetColorBackgroundOnSetColorBorderOnSetFontOnSetFontSizeOnCreateOnShowOnHideOnMoveOnResizeOnMouseDownOnMouseUp OnMouseDown 控件的 "鼠标按下" 事件处理器。 virtual bool OnMouseDown() 返回值 true 如果事件已经被处理, 否则 false。 注释 当在控件之上按鼠标左键时 "鼠标按下" 事件触发。 OnResize OnMouseUp