-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfrmAbout.frm
211 lines (193 loc) · 6.38 KB
/
frmAbout.frm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
VERSION 5.00
Begin VB.Form frmAbout
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
ClientHeight = 3855
ClientLeft = 15
ClientTop = 15
ClientWidth = 4500
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3855
ScaleWidth = 4500
ShowInTaskbar = 0 'False
Begin VB.TextBox Text1
BackColor = &H00000000&
ForeColor = &H00E0E0E0&
Height = 2175
Left = 180
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 4
Text = "frmAbout.frx":0000
Top = 480
Width = 4155
End
Begin VB.CommandButton cmdClose
Cancel = -1 'True
Caption = "Close"
Height = 315
Left = 3360
TabIndex = 0
Top = 3420
Width = 975
End
Begin VB.Label lblMMESource
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H00000000&
Caption = "View the project page on GitHub for support"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 255
Left = 120
MousePointer = 2 'Cross
TabIndex = 6
Top = 3060
Width = 4155
End
Begin VB.Label lblMudinfo
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H00000000&
Caption = "mudinfo.net - your source for mmud information"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 255
Left = 120
MousePointer = 2 'Cross
TabIndex = 5
Top = 2760
Width = 4155
End
Begin VB.Label lblSynEmail
Appearance = 0 'Flat
BackColor = &H00000000&
Caption = "syntax53"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 255
Left = 2205
MousePointer = 2 'Cross
TabIndex = 2
Top = 3420
Width = 1155
End
Begin VB.Label lblb2yb
BackColor = &H00000000&
Caption = "Brought to you by: "
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 255
Left = 120
TabIndex = 3
Top = 3420
Width = 1995
End
Begin VB.Label lblCaption
Alignment = 2 'Center
BackColor = &H00000000&
Caption = "text"
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C00000&
Height = 375
Left = 60
TabIndex = 1
Top = 60
Width = 4275
End
End
Attribute VB_Name = "frmAbout"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Option Base 0
Dim TTlbl2 As clsToolTip
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub Form_Load()
On Error Resume Next
Dim rc As RECT
Set TTlbl2 = New clsToolTip
With TTlbl2
.DelayTime = 25
.VisibleTime = 10000
.BkColor = &HC0FFFF
.TxtColor = &H0
.Style = ttStyleBalloon
End With
TTlbl2.Style = 1
lblCaption.Caption = frmMain.Caption
rc.Left = lblMudinfo.Left \ Screen.TwipsPerPixelX
rc.Top = lblMudinfo.Top \ Screen.TwipsPerPixelY
rc.Bottom = (lblMudinfo.Top + lblMudinfo.Height) \ Screen.TwipsPerPixelX
rc.Right = (lblMudinfo.Left + lblMudinfo.Width) \ Screen.TwipsPerPixelY
TTlbl2.SetToolTipItem Me.hwnd, 0, rc.Left, rc.Top, rc.Right, rc.Bottom, "http://www.mudinfo.net/", False
rc.Left = lblSynEmail.Left \ Screen.TwipsPerPixelX
rc.Top = lblSynEmail.Top \ Screen.TwipsPerPixelY
rc.Bottom = (lblSynEmail.Top + lblSynEmail.Height) \ Screen.TwipsPerPixelX
rc.Right = (lblSynEmail.Left + lblSynEmail.Width) \ Screen.TwipsPerPixelY
TTlbl2.SetToolTipItem Me.hwnd, 0, rc.Left, rc.Top, rc.Right, rc.Bottom, "mailto: [email protected]", False
If Not frmMain.WindowState = vbMinimized Then
Me.Left = frmMain.Left + (frmMain.Width / 4)
Me.Top = frmMain.Top + (frmMain.Height / 4)
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
Set TTlbl2 = Nothing
End Sub
Private Sub lblMMESource_Click()
Call ShellExecute(0&, "open", "https://github.com/syntax53/MMUD-Explorer/issues", vbNullString, vbNullString, vbNormalFocus)
End Sub
Private Sub lblMudinfo_Click()
Call ShellExecute(0&, "open", "http://www.mudinfo.net/", vbNullString, vbNullString, vbNormalFocus)
End Sub
Private Sub lblSynEmail_Click()
Call ShellExecute(0&, "open", "mailto:[email protected] &subject=MMUD Explorer", vbNullString, vbNullString, vbNormalFocus)
End Sub