⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vbmail.frm

📁 收发电子邮件 对邮件保存删除等基本操作 通讯簿 设信纸 保存邮件附件 支持smtp pop3协议等
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{20C62CAE-15DA-101B-B9A8-444553540000}#1.1#0"; "MSMAPI32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.MDIForm VBMail 
   BackColor       =   &H8000000C&
   Caption         =   "电子邮件"
   ClientHeight    =   5265
   ClientLeft      =   165
   ClientTop       =   735
   ClientWidth     =   7560
   LinkTopic       =   "MDIForm1"
   StartUpPosition =   3  'Windows Default
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   3990
      Top             =   705
   End
   Begin MSComDlg.CommonDialog CMDialog1 
      Left            =   5640
      Top             =   735
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin MSComctlLib.StatusBar Statusbar1 
      Align           =   2  'Align Bottom
      Height          =   375
      Left            =   0
      TabIndex        =   1
      Top             =   4890
      Width           =   7560
      _ExtentX        =   13335
      _ExtentY        =   661
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   2
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            AutoSize        =   1
            Object.Width           =   10266
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   2
            AutoSize        =   2
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   570
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   7560
      _ExtentX        =   13335
      _ExtentY        =   1005
      ButtonWidth     =   1455
      ButtonHeight    =   953
      Wrappable       =   0   'False
      Appearance      =   1
      Style           =   1
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   15
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "撰写"
            Key             =   "Compose"
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "收信"
            Key             =   "Fetch"
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "回复"
            Key             =   "Reply"
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "全部回复"
            Key             =   "ReplyAll"
         EndProperty
         BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "发送"
            Key             =   "Forward"
         EndProperty
         BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "删除"
            Key             =   "Delete"
         EndProperty
         BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "前一个"
            Key             =   "Previous1"
         EndProperty
         BeginProperty Button14 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button15 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "下一个"
            Key             =   "Next1"
         EndProperty
      EndProperty
      BorderStyle     =   1
   End
   Begin MSMAPI.MAPISession MAPISess 
      Left            =   5025
      Top             =   675
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      DownloadMail    =   -1  'True
      LogonUI         =   -1  'True
      NewSession      =   0   'False
   End
   Begin MSMAPI.MAPIMessages MAPIMess 
      Left            =   4440
      Top             =   690
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      AddressEditFieldCount=   1
      AddressModifiable=   0   'False
      AddressResolveUI=   0   'False
      FetchSorted     =   0   'False
      FetchUnreadOnly =   0   'False
   End
   Begin VB.Menu file 
      Caption         =   "文件(&F)"
      Begin VB.Menu Logon 
         Caption         =   "登录"
      End
      Begin VB.Menu Logoff 
         Caption         =   "注销"
      End
      Begin VB.Menu PrintMessage 
         Caption         =   "打印"
      End
      Begin VB.Menu Exit 
         Caption         =   "退出"
      End
   End
   Begin VB.Menu Mail 
      Caption         =   "邮件(&M)"
      Begin VB.Menu Mfetch 
         Caption         =   "收取邮件"
      End
      Begin VB.Menu Mcompose 
         Caption         =   "写新邮件"
      End
      Begin VB.Menu Mforward 
         Caption         =   "发送邮件"
      End
      Begin VB.Menu Mreply 
         Caption         =   "回复邮件"
      End
      Begin VB.Menu Mreplyall 
         Caption         =   "回复全部"
      End
      Begin VB.Menu EditDelete 
         Caption         =   "删除"
      End
   End
   Begin VB.Menu Option 
      Caption         =   "选项(&O)"
      Begin VB.Menu MailOpts 
         Caption         =   "邮件设置"
      End
      Begin VB.Menu PrSetup 
         Caption         =   "打印设置"
      End
      Begin VB.Menu FontScreen 
         Caption         =   "窗体字体设置"
      End
      Begin VB.Menu FontPrt 
         Caption         =   "打印字体设置"
      End
   End
   Begin VB.Menu Address 
      Caption         =   "通讯簿(&B)"
      Begin VB.Menu ShowAB 
         Caption         =   "显示通讯簿"
      End
   End
   Begin VB.Menu Window 
      Caption         =   "窗口(&W)"
      Begin VB.Menu Wa 
         Caption         =   "层叠"
         Index           =   0
      End
      Begin VB.Menu Wa 
         Caption         =   "水平平铺"
         Index           =   1
      End
      Begin VB.Menu Wa 
         Caption         =   "垂直平铺"
         Index           =   2
      End
      Begin VB.Menu Wa 
         Caption         =   "排列图标"
         Index           =   3
      End
   End
   Begin VB.Menu Help 
      Caption         =   "帮助(&H)"
      Begin VB.Menu About 
         Caption         =   "关于 电子邮件"
      End
   End
End
Attribute VB_Name = "VBMail"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub About_Click()
'点击About键发生
    MsgBox "VB课程设计实例" + Chr$(13) + Chr$(10) + "——电子邮件" + Chr$(13) + Chr$(10) + "     2001.12", 0, "电子邮件"
End Sub

Private Sub EditDelete_Click()
'删除邮件
    On Error GoTo trap
    If TypeOf VBMail.ActiveForm Is MailLst Then
        VBMail.MAPIMess.MsgIndex = MailLst.Mlist.ListIndex
        Call DeleteMessage
    End If
trap:
    Exit Sub
End Sub

Private Sub Exit_Click()
'退出功能,如果对话未关闭,则调用logoff_Click关闭邮件对话
    If MAPISess.SessionID <> 0 Then
        Call Logoff_Click
    End If
    End
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -