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

📄 quickzip.frm

📁 一个兼容pkzip的文件/内存压缩算法
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 2.00
Begin Form frmQuickZIP 
   BackColor       =   &H00FFFFFF&
   Caption         =   "QuickZIP"
   ClientHeight    =   3645
   ClientLeft      =   2910
   ClientTop       =   2715
   ClientWidth     =   6840
   Height          =   4335
   Icon            =   QUICKZIP.FRX:0000
   Left            =   2850
   LinkTopic       =   "Form1"
   ScaleHeight     =   243
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   456
   Top             =   2085
   Width           =   6960
   Begin PictureBox picToolBar 
      BackColor       =   &H00C0C0C0&
      BorderStyle     =   0  'None
      Height          =   2055
      Left            =   480
      ScaleHeight     =   137
      ScaleMode       =   3  'Pixel
      ScaleWidth      =   297
      TabIndex        =   4
      Top             =   240
      Width           =   4455
      Begin PictureBox picTool 
         AutoSize        =   -1  'True
         BorderStyle     =   0  'None
         Height          =   495
         Index           =   4
         Left            =   3120
         ScaleHeight     =   495
         ScaleWidth      =   615
         TabIndex        =   9
         Top             =   120
         Width           =   615
      End
      Begin PictureBox picTool 
         AutoSize        =   -1  'True
         BorderStyle     =   0  'None
         Height          =   495
         Index           =   3
         Left            =   2400
         ScaleHeight     =   495
         ScaleWidth      =   615
         TabIndex        =   8
         Top             =   120
         Width           =   615
      End
      Begin PictureBox picTool 
         AutoSize        =   -1  'True
         BorderStyle     =   0  'None
         Height          =   495
         Index           =   2
         Left            =   1680
         ScaleHeight     =   495
         ScaleWidth      =   615
         TabIndex        =   7
         Top             =   120
         Width           =   615
      End
      Begin PictureBox picTool 
         AutoSize        =   -1  'True
         BorderStyle     =   0  'None
         Height          =   495
         Index           =   1
         Left            =   960
         ScaleHeight     =   495
         ScaleWidth      =   615
         TabIndex        =   6
         Top             =   120
         Width           =   615
      End
      Begin PictureBox picTool 
         AutoSize        =   -1  'True
         BorderStyle     =   0  'None
         Height          =   495
         Index           =   0
         Left            =   240
         ScaleHeight     =   495
         ScaleWidth      =   615
         TabIndex        =   5
         Top             =   120
         Width           =   615
      End
      Begin Image imgButtonDown 
         Height          =   480
         Index           =   4
         Left            =   3120
         Picture         =   QUICKZIP.FRX:0302
         Top             =   1200
         Width           =   480
      End
      Begin Image imgButtonDown 
         Height          =   480
         Index           =   3
         Left            =   2400
         Picture         =   QUICKZIP.FRX:0604
         Top             =   1200
         Width           =   480
      End
      Begin Image imgButtonDown 
         Height          =   480
         Index           =   2
         Left            =   1680
         Picture         =   QUICKZIP.FRX:0906
         Top             =   1440
         Width           =   480
      End
      Begin Image imgButtonUp 
         Height          =   480
         Index           =   4
         Left            =   3120
         Picture         =   QUICKZIP.FRX:0C08
         Top             =   720
         Width           =   480
      End
      Begin Image imgButtonUp 
         Height          =   480
         Index           =   3
         Left            =   2400
         Picture         =   QUICKZIP.FRX:0F0A
         Top             =   720
         Width           =   480
      End
      Begin Image imgButtonUp 
         Height          =   480
         Index           =   2
         Left            =   1320
         Picture         =   QUICKZIP.FRX:120C
         Top             =   720
         Width           =   480
      End
      Begin Image imgButtonDown 
         Height          =   480
         Index           =   1
         Left            =   960
         Picture         =   QUICKZIP.FRX:150E
         Top             =   1440
         Width           =   480
      End
      Begin Image imgButtonUp 
         Height          =   480
         Index           =   1
         Left            =   720
         Picture         =   QUICKZIP.FRX:1810
         Top             =   720
         Width           =   480
      End
      Begin Image imgButtonDown 
         Height          =   480
         Index           =   0
         Left            =   240
         Picture         =   QUICKZIP.FRX:1B12
         Top             =   1440
         Width           =   480
      End
      Begin Image imgButtonUp 
         Height          =   480
         Index           =   0
         Left            =   240
         Picture         =   QUICKZIP.FRX:1E14
         Top             =   720
         Width           =   480
      End
   End
   Begin PictureBox picStatusBar 
      BackColor       =   &H00C0C0C0&
      BorderStyle     =   0  'None
      Height          =   495
      Left            =   120
      ScaleHeight     =   33
      ScaleMode       =   3  'Pixel
      ScaleWidth      =   81
      TabIndex        =   1
      Top             =   2760
      Width           =   1215
      Begin Label lblStatusBar 
         BackColor       =   &H00C0C0C0&
         Caption         =   "Label1"
         FontBold        =   0   'False
         FontItalic      =   0   'False
         FontName        =   "MS Sans Serif"
         FontSize        =   8.25
         FontStrikethru  =   0   'False
         FontUnderline   =   0   'False
         Height          =   255
         Left            =   120
         TabIndex        =   3
         Top             =   120
         Width           =   1215
      End
   End
   Begin TextBox txtZIP 
      Height          =   285
      Left            =   120
      TabIndex        =   2
      Text            =   "Text1"
      Top             =   3120
      Visible         =   0   'False
      Width           =   3255
   End
   Begin ColumnListbox colArchive 
      Height          =   2655
      Left            =   840
      TabIndex        =   0
      Top             =   2160
      Width           =   4530
   End
   Begin Menu mnuArchive 
      Caption         =   "&Archive"
      Begin Menu mnuArchiveNew 
         Caption         =   "&New"
      End
      Begin Menu mnuArchiveOpen 
         Caption         =   "&Open..."
      End
      Begin Menu mnuArchiveSep1 
         Caption         =   "-"
      End
      Begin Menu mnuArchiveExit 
         Caption         =   "E&xit"
      End
   End
   Begin Menu mnuOptions 
      Caption         =   "&Options"
      Begin Menu mnuOptionsCompression 
         Caption         =   "&Compression..."
         Begin Menu mnuOptionsCompressionLevel 
            Caption         =   "N&one"
            Index           =   0
         End
         Begin Menu mnuOptionsCompressionLevel 
            Caption         =   "&Minimum"
            Index           =   1
         End
         Begin Menu mnuOptionsCompressionLevel 
            Caption         =   "&Normal"
            Checked         =   -1  'True
            Index           =   2
         End
         Begin Menu mnuOptionsCompressionLevel 
            Caption         =   "Ma&ximum"
            Index           =   3
         End
      End
      Begin Menu mnuOptionsStoreFull 
         Caption         =   "Store full filename"
         Checked         =   -1  'True
      End
      Begin Menu mnuOptionsSep1 
         Caption         =   "-"
      End
      Begin Menu mnuOptionsExtractTo 
         Caption         =   "Extract to..."
      End
      Begin Menu mnuOptionsSep2 
         Caption         =   "-"
      End
      Begin Menu mnuOptionsOnTop 
         Caption         =   "Always on top"
         Checked         =   -1  'True
      End
   End
   Begin Menu mnuHelp 
      Caption         =   "&Help"
      Begin Menu mnuHelpAbout 
         Caption         =   "About..."
      End
   End
   Begin Menu mnuPopUp 
      Caption         =   "PopUp"
      Visible         =   0   'False
      Begin Menu mnuPopSelect 
         Caption         =   "&Select all"
         Enabled         =   0   'False
         Index           =   0
      End
      Begin Menu mnuPopSelect 
         Caption         =   "&Deselect all"
         Enabled         =   0   'False
         Index           =   1
      End
      Begin Menu mnuPopSelect 
         Caption         =   "&Invert selection"
         Enabled         =   0   'False
         Index           =   2
      End
      Begin Menu mnuPopSep1 
         Caption         =   "-"
      End
      Begin Menu mnuPopExtract 
         Caption         =   "&Extract"
         Enabled         =   0   'False
      End
      Begin Menu mnuPopView 
         Caption         =   "&View"
         Enabled         =   0   'False
      End
      Begin Menu mnuPopDelete 
         Caption         =   "D&elete"
         Enabled         =   0   'False
      End
   End
End
Option Explicit

Sub colArchive_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
    If (Button = 2) Then
        If (colArchive.ListCount > 0) Then mnuPopSelect(0).Enabled = True
        If (colArchive.SelectedCount > 0) Then
            mnuPopExtract.Enabled = True
            mnuPopDelete.Enabled = True
            mnuPopView.Enabled = True
            mnuPopSelect(1).Enabled = True
            mnuPopSelect(2).Enabled = True
        End If
        PopupMenu mnuPopUp
    End If
End Sub

Sub Form_Activate ()
    InitializeTips

  AddTip Me.picTool(0).hWnd, "Create a new archive"

⌨️ 快捷键说明

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