home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form FormStep1
- Caption = "Mail eXtension Step #3"
- ClientHeight = 5295
- ClientLeft = 1440
- ClientTop = 1530
- ClientWidth = 6735
- Height = 5670
- Left = 1395
- LinkTopic = "Form1"
- ScaleHeight = 5295
- ScaleWidth = 6735
- Top = 1200
- Width = 6825
- Begin VB.PictureBox Picture1
- Align = 2 'Align Bottom
- Height = 495
- Left = 0
- ScaleHeight = 465
- ScaleWidth = 6705
- TabIndex = 0
- Top = 4800
- Width = 6735
- Begin VB.Label szStatus
- Caption = "No Active Session"
- Height = 255
- Left = 120
- TabIndex = 3
- Top = 120
- Width = 4695
- End
- End
- Begin Threed.SSPanel SSPanel1
- Align = 1 'Align Top
- Height = 1095
- Left = 0
- TabIndex = 1
- Top = 0
- Width = 6735
- _version = 65536
- _extentx = 11880
- _extenty = 1931
- _stockprops = 15
- backcolor = 12632256
- bevelinner = 1
- Begin Threed.SSCommand SSCommand1
- Height = 855
- Left = 120
- TabIndex = 2
- Top = 120
- Width = 1215
- _version = 65536
- _extentx = 2143
- _extenty = 1508
- _stockprops = 78
- caption = "Login cc:Mail"
- picture = "OCXSTEP3.frx":0000
- End
- End
- Begin Mailx16Lib.MForm MForm1
- Left = 480
- Top = 4440
- _version = 65541
- _extentx = 10398
- _extenty = 500
- _stockprops = 0
- mxformname = "FormTag2"
- End
- Begin Mailx16Lib.MSess MSess1
- Left = 120
- Top = 3840
- _version = 65541
- _extentx = 900
- _extenty = 900
- _stockprops = 0
- mail_type = 2
- displayerrors = 0 'False
- End
- Begin Mailx16Lib.MMsg MMsg1
- Left = 120
- Top = 3000
- _version = 65541
- _extentx = 900
- _extenty = 900
- _stockprops = 0
- markasread = 0 'False
- displayerrors = 0 'False
- bindstring = "MSess1"
- End
- Begin TabDlg.SSTab SSTab1
- Height = 3255
- Left = 120
- TabIndex = 4
- Top = 1200
- Width = 6495
- _version = 65536
- _extentx = 11456
- _extenty = 5741
- _stockprops = 15
- caption = "Inbox Messages"
- tabsperrow = 5
- tab = 0
- taborientation = 0
- tabs = 1
- style = 1
- tabmaxwidth = 0
- tabheight = 529
- tabcaption(0) = "Inbox Messages"
- tab(0).controlcount= 3
- tab(0).controlenabled= -1 'True
- tab(0).control(0)= "Outline1"
- tab(0).control(1)= "Label1"
- tab(0).control(2)= "szTotal"
- Begin VB.Label szTotal
- Height = 255
- Left = 2040
- TabIndex = 7
- Top = 2880
- Width = 1935
- End
- Begin VB.Label Label1
- Caption = "Total Inbox Messages:"
- Height = 255
- Left = 240
- TabIndex = 6
- Top = 2880
- Width = 1695
- End
- Begin MSOutl.Outline Outline1
- Height = 2295
- Left = 240
- TabIndex = 5
- Top = 480
- Width = 5655
- _version = 65536
- _extentx = 9975
- _extenty = 4048
- _stockprops = 77
- backcolor = 16777215
- mouseicon = "OCXSTEP3.frx":0452
- pictureplus = "OCXSTEP3.frx":046E
- pictureminus = "OCXSTEP3.frx":05E0
- pictureleaf = "OCXSTEP3.frx":0752
- pictureopen = "OCXSTEP3.frx":08C4
- pictureclosed = "OCXSTEP3.frx":0A36
- End
- End
- Attribute VB_Name = "FormStep1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub SSCommand1_Click()
- MSess1.Logon = True
- If MSess1.Logon = True Then
- szStatus = "Active cc:Mail Session"
- Else
- szStatus = "No Active Session"
- End If
- Refresh_Inbox
- End Sub
- Public Sub Refresh_Inbox()
- Outline1.Clear
- If MSess1.Logon = True Then
- SSTab1.MousePointer = 11
- nMsg = MMsg1.MsgCount
- szTotal = nMsg
- MMsg1.Action = ACTION_FINDFIRST
- Do
- If MMsg1.FetchMsg <> 0 Then
- Outline1.AddItem MMsg1.Subject
- MMsg1.Action = ACTION_FINDNEXT
- End If
- Loop While MMsg1.FetchMsg <> 0
- SSTab1.MousePointer = 1
- Else
- szTotal = 0
- End If
- End Sub
-