2 Begin VB.Form Preferences
4 BackColor = &H00C0C0C0&
5 BorderStyle = 3 'Fixed Dialog
12 name = "MS Sans Serif"
18 strikethrough = 0 'False
20 ForeColor = &H80000008&
31 Begin Threed.SSFrame Frame3D1
41 Caption = "Misc Preferences"
43 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
44 name = "MS Sans Serif"
50 strikethrough = 0 'False
52 Begin VB.CheckBox MailNotice
54 BackColor = &H00C0C0C0&
55 Caption = "Display message at login if you have new private mail"
57 name = "MS Sans Serif"
63 strikethrough = 0 'False
65 ForeColor = &H80000008&
73 Begin VB.CommandButton Save
75 BackColor = &H80000005&
83 Begin VB.CommandButton cancel_button
85 BackColor = &H80000005&
94 Begin Threed.SSFrame Frame3D2
104 Caption = "Default action when a room is double-clicked"
105 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
106 name = "MS Sans Serif"
112 strikethrough = 0 'False
114 Begin VB.OptionButton DefaultIsAbandon
116 BackColor = &H00C0C0C0&
117 Caption = "<A>bandon (set last-read pointer where you stopped reading)"
119 name = "MS Sans Serif"
125 strikethrough = 0 'False
127 ForeColor = &H80000008&
134 Begin VB.OptionButton DefaultIsSkip
136 BackColor = &H00C0C0C0&
137 Caption = "<S>kip (leave all messages marked unread)"
139 name = "MS Sans Serif"
145 strikethrough = 0 'False
147 ForeColor = &H80000008&
154 Begin VB.OptionButton DefaultIsGoto
156 BackColor = &H00C0C0C0&
157 Caption = "<G>oto (mark all messages as read)"
159 name = "MS Sans Serif"
165 strikethrough = 0 'False
167 ForeColor = &H80000008&
175 Begin Threed.SSFrame Frame3D3
185 Caption = "Font preferences"
186 BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
187 name = "MS Sans Serif"
193 strikethrough = 0 'False
195 Begin VB.CommandButton ChangeFixedFont
197 BackColor = &H80000005&
205 Begin VB.CommandButton ChangeVariFont
207 BackColor = &H80000005&
215 Begin VB.Label FixedFontName
216 Alignment = 2 'Center
218 BackColor = &H80000005&
219 BackStyle = 0 'Transparent
220 Caption = "Fixed Font Name"
222 name = "MS Sans Serif"
228 strikethrough = 0 'False
230 ForeColor = &H80000008&
237 Begin VB.Label VariFontName
238 Alignment = 2 'Center
240 BackColor = &H80000005&
241 BackStyle = 0 'Transparent
242 Caption = "Variable Font Name"
244 name = "MS Sans Serif"
250 strikethrough = 0 'False
252 ForeColor = &H80000008&
259 Begin VB.Label Label2
260 Alignment = 1 'Right Justify
263 BackColor = &H00C0C0C0&
264 Caption = "Fixed width font:"
266 name = "MS Sans Serif"
272 strikethrough = 0 'False
274 ForeColor = &H80000008&
281 Begin VB.Label Label1
282 Alignment = 1 'Right Justify
285 BackColor = &H00C0C0C0&
286 Caption = "Variable width font:"
288 name = "MS Sans Serif"
294 strikethrough = 0 'False
296 ForeColor = &H80000008&
304 Begin MSComDlg.CommonDialog CMDialog1
311 DialogTitle = "Change Font"
315 Attribute VB_Name = "Preferences"
316 Attribute VB_Creatable = False
317 Attribute VB_Exposed = False
320 Private Sub cancel_button_Click()
327 Private Sub ChangeFixedFont_Click()
331 CMDialog1.Max = 32767
332 CMDialog1.DialogTitle = "Font for Fixed-format messages"
333 CMDialog1.Flags = &H4001&
334 CMDialog1.FontName = fixedfontname
337 MsgBox "Can't open font dialog", 48
340 fixedfontname.FontName = CMDialog1.FontName
341 fixedfontname.Caption = fixedfontname.FontName
345 Private Sub ChangeVariFont_Click()
349 CMDialog1.Max = 32767
350 CMDialog1.DialogTitle = "Font for vari-format messages"
351 CMDialog1.Flags = &H1&
352 CMDialog1.FontName = varifontname.FontName
353 CMDialog1.FontSize = varifontsize
356 MsgBox "Can't open font dialog", 48
359 varifontname.FontName = CMDialog1.FontName
360 varifontsize = CMDialog1.FontSize
361 varifontname.Caption = varifontname.FontName + " " + Str$(varifontsize)
364 Private Sub Form_Load()
368 varifontname.FontName = GetPrivateProfileVBString("Preferences", "VariFontName", "MS Sans Serif", "WINCIT.INI")
369 varifontsize = GetPrivateProfileInt("Preferences", "VariFontSize", 10, "WINCIT.INI")
370 varifontname.FontBold = False
371 varifontname.FontItalic = False
372 varifontname.Caption = varifontname.FontName + " " + Str$(varifontsize)
374 fixedfontname.FontName = GetPrivateProfileVBString("Preferences", "FixedFontName", "Courier New", "WINCIT.INI")
375 fixedfontname.FontBold = False
376 fixedfontname.FontItalic = False
377 fixedfontname.Caption = fixedfontname.FontName
379 a$ = GetPrivateProfileVBString("Preferences", "DoubleClickAction", "GOTO", "WINCIT.INI")
380 DefaultIsGoto.Value = True
381 If a$ = "SKIP" Then DefaultIsSkip.Value = True
382 If a$ = "ABANDON" Then DefaultIsAbandon.Value = True
384 b% = GetPrivateProfileInt("Preferences", "MailNotice", 1, "WINCIT.INI")
393 Private Sub Save_Click()
395 a% = WritePrivateProfileString("Preferences", "VariFontName", varifontname.FontName, "WINCIT.INI")
396 a% = WritePrivateProfileString("Preferences", "VariFontSize", Str$(varifontsize), "WINCIT.INI")
398 a% = WritePrivateProfileString("Preferences", "FixedFontName", fixedfontname.FontName, "WINCIT.INI")
400 If DefaultIsGoto.Value = True Then a% = WritePrivateProfileString("Preferences", "DoubleClickAction", "GOTO", "WINCIT.INI")
401 If DefaultIsSkip.Value = True Then a% = WritePrivateProfileString("Preferences", "DoubleClickAction", "SKIP", "WINCIT.INI")
402 If DefaultIsAbandon.Value = True Then a% = WritePrivateProfileString("Preferences", "DoubleClickAction", "ABANDON", "WINCIT.INI")
404 If MailNotice.Value = 1 Then
405 a% = WritePrivateProfileString("Preferences", "MailNotice", "1", "WINCIT.INI")
407 a% = WritePrivateProfileString("Preferences", "MailNotice", "0", "WINCIT.INI")