📄 dspimage.frm
字号:
VERSION 5.00
Begin VB.Form FormDspImage
Caption = "Display Image files"
ClientHeight = 5745
ClientLeft = 60
ClientTop = 345
ClientWidth = 6930
LinkTopic = "FormDspImage"
ScaleHeight = 5745
ScaleWidth = 6930
StartUpPosition = 3 'Windows Default
Begin VB.DriveListBox Drive1
Height = 315
Left = 360
TabIndex = 6
Top = 360
Width = 2895
End
Begin VB.TextBox TextInfo
Enabled = 0 'False
Height = 285
Left = 360
TabIndex = 5
Top = 5400
Width = 6015
End
Begin VB.ListBox ListInImage
Height = 1620
Left = 360
TabIndex = 4
Top = 3600
Width = 6135
End
Begin VB.CommandButton DispImage
Caption = "DispImage"
Height = 375
Left = 5280
TabIndex = 3
Top = 3000
Width = 1215
End
Begin VB.FileListBox FileList
Height = 2430
Left = 3720
Pattern = "*.iso"
TabIndex = 2
Top = 360
Width = 2655
End
Begin VB.DirListBox DirList
Height = 1665
Left = 360
TabIndex = 1
Top = 840
Width = 2775
End
Begin VB.TextBox TextZone
Height = 375
Left = 360
TabIndex = 0
Top = 3000
Width = 4815
End
End
Attribute VB_Name = "FormDspImage"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DirList_Change()
FileList.Path = DirList.Path
FileList.Refresh
End Sub
Private Sub DispImage_Click()
Dim res, isCompressed As Boolean
Dim lpdi(1 To 512) As DIRINFO
While ListInImage.ListCount > 0
ListInImage.RemoveItem 0
Wend
Ima = CreateCDIsoIma(TextZone.Text)
nbr = GetNbEntryCurDir(Ima)
TextInfo = TextZone.Text & " - " & Str(nbr) & " files in root"
res = GetDirInfo(Ima, lpdi(1), SORT_NAME)
For I = 1 To nbr
J = 1
strfilename = ""
While (lpdi(I).longname(J) <> 0)
strfilename = strfilename & Chr(lpdi(I).longname(J))
J = J + 1
Wend
ListInImage.AddItem (strfilename)
Next
DeleteIma (Ima)
End Sub
Private Sub Drive1_Change()
DirList.Path = Drive1.Drive
End Sub
Private Sub FileList_Click()
TextZone.Text = FileList.Path & "\" & FileList.FileName
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -