MQL5参考标准程序库面板和对话框CDialogOnDialogDragStart CreateOnEventCaptionAddCreateWhiteBorderCreateBackgroundCreateCaptionCreateButtonCloseCreateClientAreaOnClickCaptionOnClickButtonCloseClientAreaVisibleClientAreaLeftClientAreaTopClientAreaRightClientAreaBottomClientAreaWidthClientAreaHeightOnDialogDragStartOnDialogDragProcessOnDialogDragEnd OnDialogDragStart 控件的 "对话框拖开始" 事件处理器。 virtual bool OnDialogDragStart() 返回值 true 如果事件已经被处理, 否则 false。 注释 当拖动控件开始时 "对话框拖动开始" 事件触发。 ClientAreaHeight OnDialogDragProcess