|
@@ -14,10 +14,11 @@ Attribute VB_Creatable = False
|
|
|
Attribute VB_PredeclaredId = True
|
|
|
Attribute VB_Exposed = False
|
|
|
|
|
|
+
|
|
|
#If VBA7 Then
|
|
|
- Private Declare PtrSafe Function DrawMenuBar Lib "user32" (ByVal Hwnd As Long) As Long
|
|
|
- Private Declare PtrSafe Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal Hwnd As Long, ByVal nIndex As Long) As Long
|
|
|
- Private Declare PtrSafe Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal Hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
|
|
|
+ Private Declare PtrSafe Function DrawMenuBar Lib "user32" (ByVal hwnd As Long) As Long
|
|
|
+ Private Declare PtrSafe Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
|
|
|
+ Private Declare PtrSafe Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
|
|
|
Private Declare PtrSafe Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
|
|
|
Private Declare PtrSafe Function GetSystemMetrics Lib "user32" (ByVal nIndex As Long) As Long
|
|
|
|
|
@@ -34,19 +35,23 @@ Private Const WS_CAPTION As Long = &HC00000
|
|
|
Private Const WS_EX_DLGMODALFRAME = &H1&
|
|
|
|
|
|
|
|
|
+Private Sub CommandButton3_Click()
|
|
|
+ Speak_Msg "修改UI图片更换界面 注册表关闭语音 详QQ群"
|
|
|
+ MsgBox "请给我支持!" & vbNewLine & "您的支持,我才能有动力添加更多功能." & vbNewLine & "蘭雅CorelVBA中秋节版" & vbNewLine & "coreldrawvba插件交流群 8531411"
|
|
|
+End Sub
|
|
|
|
|
|
Private Sub UserForm_Initialize()
|
|
|
Dim IStyle As Long
|
|
|
- Dim Hwnd As Long
|
|
|
+ Dim hwnd As Long
|
|
|
|
|
|
- Hwnd = FindWindow("ThunderDFrame", Me.Caption)
|
|
|
+ hwnd = FindWindow("ThunderDFrame", Me.Caption)
|
|
|
|
|
|
- IStyle = GetWindowLong(Hwnd, GWL_STYLE)
|
|
|
+ IStyle = GetWindowLong(hwnd, GWL_STYLE)
|
|
|
IStyle = IStyle And Not WS_CAPTION
|
|
|
- SetWindowLong Hwnd, GWL_STYLE, IStyle
|
|
|
- DrawMenuBar Hwnd
|
|
|
- IStyle = GetWindowLong(Hwnd, GWL_EXSTYLE) And Not WS_EX_DLGMODALFRAME
|
|
|
- SetWindowLong Hwnd, GWL_EXSTYLE, IStyle
|
|
|
+ SetWindowLong hwnd, GWL_STYLE, IStyle
|
|
|
+ DrawMenuBar hwnd
|
|
|
+ IStyle = GetWindowLong(hwnd, GWL_EXSTYLE) And Not WS_EX_DLGMODALFRAME
|
|
|
+ SetWindowLong hwnd, GWL_EXSTYLE, IStyle
|
|
|
|
|
|
With Me
|
|
|
.StartUpPosition = 0
|
|
@@ -63,12 +68,19 @@ End With
|
|
|
Bleed.text = API.GetSet("Bleed")
|
|
|
Line_len.text = API.GetSet("Line_len")
|
|
|
Outline_Width.text = GetSetting("262235.xyz", "Settings", "Outline_Width", "0.2")
|
|
|
+
|
|
|
+
|
|
|
+ UIFile = Path & "GMS\262235.xyz\ToolBar.jpg"
|
|
|
+ If API.ExistsFile_UseFso(UIFile) Then
|
|
|
+ UI.Picture = LoadPicture(UIFile) '换UI图
|
|
|
+ End If
|
|
|
+
|
|
|
End Sub
|
|
|
|
|
|
-Private Sub UserForm_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub UserForm_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button Then
|
|
|
- mx = x
|
|
|
- my = y
|
|
|
+ mx = X
|
|
|
+ my = Y
|
|
|
End If
|
|
|
|
|
|
With Me
|
|
@@ -77,15 +89,15 @@ Private Sub UserForm_MouseDown(ByVal Button As Integer, ByVal Shift As Integer,
|
|
|
|
|
|
End Sub
|
|
|
|
|
|
-Private Sub UserForm_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub UserForm_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button Then
|
|
|
- Me.Left = Me.Left - mx + x
|
|
|
- Me.Top = Me.Top - my + y
|
|
|
+ Me.Left = Me.Left - mx + X
|
|
|
+ Me.Top = Me.Top - my + Y
|
|
|
End If
|
|
|
End Sub
|
|
|
|
|
|
-Private Sub LOGO_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
- If Abs(x - 14) < 14 And Abs(y - 14) < 14 And Button = 2 Then
|
|
|
+Private Sub LOGO_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
+ If Abs(X - 14) < 14 And Abs(Y - 14) < 14 And Button = 2 Then
|
|
|
Me.Width = 336
|
|
|
OPEN_UI_BIG.Left = 322
|
|
|
UI.Visible = True
|
|
@@ -97,19 +109,19 @@ Private Sub LOGO_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVa
|
|
|
End If
|
|
|
|
|
|
If Button Then
|
|
|
- mx = x
|
|
|
- my = y
|
|
|
+ mx = X
|
|
|
+ my = Y
|
|
|
End If
|
|
|
End Sub
|
|
|
|
|
|
-Private Sub LOGO_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub LOGO_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button Then
|
|
|
- Me.Left = Me.Left - mx + x
|
|
|
- Me.Top = Me.Top - my + y
|
|
|
+ Me.Left = Me.Left - mx + X
|
|
|
+ Me.Top = Me.Top - my + Y
|
|
|
End If
|
|
|
End Sub
|
|
|
|
|
|
-Private Sub UI_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub UI_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
Dim c As New Color
|
|
|
' 定义图标坐标pos
|
|
|
Dim pos_x As Variant
|
|
@@ -118,46 +130,46 @@ Private Sub UI_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal
|
|
|
pos_x = Array(14, 41, 67, 94, 121, 148, 174, 201, 228, 254, 281, 308, 334, 361, 388, 415, 441, 468, 495)
|
|
|
|
|
|
'//扩展键按钮优先 ①右键收缩工具栏 ②右键居中页面 ③右键尺寸取整数 ④右键单色黑中线标记 ⑤右键单色黑中线标记
|
|
|
- If Abs(x - pos_x(0)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ If Abs(X - pos_x(0)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
Me.Width = 30
|
|
|
UI.Visible = False
|
|
|
LOGO.Visible = True
|
|
|
X_EXIT.Visible = True
|
|
|
Exit Sub
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(1)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ ElseIf Abs(X - pos_x(1)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
Tools.居中页面
|
|
|
Exit Sub
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(3)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ ElseIf Abs(X - pos_x(3)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
Tools.尺寸取整
|
|
|
Exit Sub
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(5)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ ElseIf Abs(X - pos_x(5)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
自动中线色阶条.Auto_ColorMark_K
|
|
|
Exit Sub
|
|
|
|
|
|
'//分分合合把几个功能按键合并到一起,定义到右键上
|
|
|
- ElseIf Abs(x - pos_x(4)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ ElseIf Abs(X - pos_x(4)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
Tools.分分合合
|
|
|
Exit Sub
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(6)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
- 调用多页合并工具
|
|
|
+ ElseIf Abs(X - pos_x(6)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ 智能群组和查找.智能群组 API.Create_Tolerance
|
|
|
Exit Sub
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(8)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ ElseIf Abs(X - pos_x(8)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
'// 右键扩展工具栏
|
|
|
Me.Height = 30 + 45
|
|
|
Exit Sub
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(10)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ ElseIf Abs(X - pos_x(10)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
'// 右键排列工具
|
|
|
TOP_ALIGN_BT.Visible = True
|
|
|
LEFT_ALIGN_BT.Visible = True
|
|
|
Exit Sub
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(11)) < 14 And Abs(y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
+ ElseIf Abs(X - pos_x(11)) < 14 And Abs(Y - pos_y(0)) < 14 And Button = 2 Then
|
|
|
'// 右键扩展工具栏收缩
|
|
|
Me.Height = 30
|
|
|
Exit Sub
|
|
@@ -165,41 +177,43 @@ Private Sub UI_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal
|
|
|
End If
|
|
|
|
|
|
'// 鼠标单击按钮 按工具栏上图标正常功能
|
|
|
- If Abs(x - pos_x(0)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ If Abs(X - pos_x(0)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
裁切线.start
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(1)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ ElseIf Abs(X - pos_x(1)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
剪贴板尺寸建立矩形.start
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(2)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ ElseIf Abs(X - pos_x(2)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
裁切线.SelectLine_to_Cropline
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(3)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ ElseIf Abs(X - pos_x(3)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
拼版裁切线.arrange
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(4)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ ElseIf Abs(X - pos_x(4)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
拼版裁切线.Cut_lines
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(5)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ ElseIf Abs(X - pos_x(5)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
自动中线色阶条.Auto_ColorMark
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(6)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ ElseIf Abs(X - pos_x(6)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
智能群组和查找.智能群组
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(7)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
- CQL_FIND_UI.Show 0
|
|
|
+ ElseIf Abs(X - pos_x(7)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
+ CQL_FIND_UI.show 0
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(8)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
- Replace_UI.Show 0
|
|
|
+ ElseIf Abs(X - pos_x(8)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
+ Replace_UI.show 0
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(9)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ ElseIf Abs(X - pos_x(9)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
Tools.TextShape_ConvertToCurves
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(10)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ ElseIf Abs(X - pos_x(10)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
'// 扩展工具栏
|
|
|
Me.Height = 30 + 45
|
|
|
|
|
|
- ElseIf Abs(x - pos_x(11)) < 14 And Abs(y - pos_y(0)) < 14 Then
|
|
|
+ Speak_Msg "左右键有不同功能"
|
|
|
+
|
|
|
+ ElseIf Abs(X - pos_x(11)) < 14 And Abs(Y - pos_y(0)) < 14 Then
|
|
|
'// 最小化
|
|
|
Me.Width = 30
|
|
|
Me.Height = 30
|
|
@@ -207,8 +221,11 @@ Private Sub UI_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal
|
|
|
UI.Visible = False
|
|
|
LOGO.Visible = True
|
|
|
X_EXIT.Visible = True
|
|
|
+
|
|
|
+ Speak_Msg "左键缩小 右键收缩"
|
|
|
End If
|
|
|
|
|
|
+
|
|
|
End Sub
|
|
|
|
|
|
|
|
@@ -267,7 +284,7 @@ End Sub
|
|
|
|
|
|
Private Sub OPEN_UI_BIG_Click()
|
|
|
Unload Me
|
|
|
- CorelVBA.Show 0
|
|
|
+ CorelVBA.show 0
|
|
|
End Sub
|
|
|
|
|
|
Private Sub Settings_Click()
|
|
@@ -286,11 +303,10 @@ End Sub
|
|
|
Private Sub Tools_Icon_Click()
|
|
|
' 调用语句
|
|
|
i = GMSManager.RunMacro("CorelDRAW_VBA", "学习CorelVBA.start")
|
|
|
- Me.Height = 30
|
|
|
End Sub
|
|
|
|
|
|
'''//// 选择多物件,组合然后拆分线段,为角线爬虫准备 ////'''
|
|
|
-Private Sub Split_Segment_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub Split_Segment_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button = 2 Then
|
|
|
MsgBox "鼠标右键,功能待定"
|
|
|
Exit Sub
|
|
@@ -298,11 +314,10 @@ Private Sub Split_Segment_MouseDown(ByVal Button As Integer, ByVal Shift As Inte
|
|
|
|
|
|
If Button Then
|
|
|
Tools.Split_Segment
|
|
|
- Me.Height = 30
|
|
|
End If
|
|
|
End Sub
|
|
|
|
|
|
-Private Sub Split_Segment_Copy_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub Split_Segment_Copy_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button = 2 Then
|
|
|
MsgBox "鼠标右键,功能待定"
|
|
|
Exit Sub
|
|
@@ -310,12 +325,12 @@ Private Sub Split_Segment_Copy_MouseDown(ByVal Button As Integer, ByVal Shift As
|
|
|
|
|
|
If Button Then
|
|
|
Tools.Split_Segment
|
|
|
- Me.Height = 30
|
|
|
End If
|
|
|
+ Speak_Msg "拆分线段"
|
|
|
End Sub
|
|
|
|
|
|
-'''//// CorelDRAW 与 Adobe_Illustrator 剪贴板转换差 ////'''
|
|
|
-Private Sub Adobe_Illustrator_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+'''//// CorelDRAW 与 Adobe_Illustrator 剪贴板转换 ////'''
|
|
|
+Private Sub Adobe_Illustrator_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
Dim value As Integer
|
|
|
If Button = 2 Then
|
|
|
value = GMSManager.RunMacro("AIClipboard", "CopyPaste.PasteAIFormat")
|
|
@@ -329,7 +344,7 @@ Private Sub Adobe_Illustrator_MouseDown(ByVal Button As Integer, ByVal Shift As
|
|
|
End Sub
|
|
|
|
|
|
'''//// 标记画框 支持容差 ////'''
|
|
|
-Private Sub Mark_CreateRectangle_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub Mark_CreateRectangle_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button = 2 Then
|
|
|
Tools.Mark_CreateRectangle True
|
|
|
ElseIf Shift = fmCtrlMask Then
|
|
@@ -337,35 +352,37 @@ Private Sub Mark_CreateRectangle_MouseDown(ByVal Button As Integer, ByVal Shift
|
|
|
Else
|
|
|
Create_Tolerance
|
|
|
End If
|
|
|
+ Speak_Msg "标记画框 右键支持容差"
|
|
|
End Sub
|
|
|
|
|
|
'''//// 一键拆开多行组合的文字字符 ////'''
|
|
|
-Private Sub Batch_Combine_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub Batch_Combine_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button = 2 Then
|
|
|
Tools.Batch_Combine
|
|
|
- MsgBox "右键暂定功能: 智能群组后的拆开组合"
|
|
|
ElseIf Shift = fmCtrlMask Then
|
|
|
Tools.Take_Apart_Character
|
|
|
- Me.Height = 30
|
|
|
Else
|
|
|
Create_Tolerance
|
|
|
End If
|
|
|
+
|
|
|
+ Speak_Msg "智能拆字"
|
|
|
End Sub
|
|
|
|
|
|
-'''//// 一键拆开多行组合的文字字符 ////'''
|
|
|
-Private Sub Single_Line_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+'''//// 简单一刀切 ////'''
|
|
|
+Private Sub Single_Line_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button = 2 Then
|
|
|
- MsgBox "简单一刀切,右键隐藏"
|
|
|
Me.Height = 30
|
|
|
ElseIf Shift = fmCtrlMask Then
|
|
|
Tools.Single_Line
|
|
|
Else
|
|
|
' Ctrl + 鼠标 空
|
|
|
End If
|
|
|
+
|
|
|
+ Speak_Msg "简单一刀切"
|
|
|
End Sub
|
|
|
|
|
|
'''//// 傻瓜火车排列 ////'''
|
|
|
-Private Sub TOP_ALIGN_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub TOP_ALIGN_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button = 2 Then
|
|
|
Tools.傻瓜火车排列 3#
|
|
|
ElseIf Shift = fmCtrlMask Then
|
|
@@ -376,7 +393,7 @@ Private Sub TOP_ALIGN_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Integ
|
|
|
End Sub
|
|
|
|
|
|
'''//// 傻瓜阶梯排列 ////'''
|
|
|
-Private Sub LEFT_ALIGN_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
|
|
|
+Private Sub LEFT_ALIGN_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
If Button = 2 Then
|
|
|
Tools.傻瓜阶梯排列 3#
|
|
|
ElseIf Shift = fmCtrlMask Then
|
|
@@ -386,3 +403,15 @@ Private Sub LEFT_ALIGN_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Inte
|
|
|
End If
|
|
|
End Sub
|
|
|
|
|
|
+
|
|
|
+'''//// 多页合并一页工具 ////'''
|
|
|
+Private Sub UniteOne_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
|
|
|
+ If Button = 2 Then
|
|
|
+ ' 右键
|
|
|
+ ElseIf Shift = fmCtrlMask Then
|
|
|
+ UniteOne.show 0
|
|
|
+ Speak_Msg "多页合并一页"
|
|
|
+ Else
|
|
|
+ ' Ctrl + 鼠标 空
|
|
|
+ End If
|
|
|
+End Sub
|