📄 frmbrowser.frm
字号:
VERSION 5.00
Object = "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0"; "SHDOCVW.DLL"
Begin VB.Form frmbrowser
Caption = "AOP New's Station [http://www.ageofproductions.com"
ClientHeight = 5160
ClientLeft = 60
ClientTop = 345
ClientWidth = 7545
ForeColor = &H00C0C0C0&
Icon = "frmbrowser.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 5160
ScaleWidth = 7545
StartUpPosition = 2 'CenterScreen
Begin VB.Timer Timer1
Left = 720
Top = 0
End
Begin SHDocVwCtl.WebBrowser wb1
Height = 4335
Left = 120
TabIndex = 1
Top = 720
Width = 7335
ExtentX = 12938
ExtentY = 7646
ViewMode = 0
Offline = 0
Silent = 0
RegisterAsBrowser= 0
RegisterAsDropTarget= 1
AutoArrange = 0 'False
NoClientEdge = 0 'False
AlignLeft = 0 'False
ViewID = "{0057D0E0-3573-11CF-AE69-08002B2E1262}"
Location = ""
End
Begin VB.Label Label1
Caption = "-=Age of Production= -"
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2040
TabIndex = 0
Top = 240
Width = 3255
End
End
Attribute VB_Name = "frmbrowser"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Me.Show
StayOnTop Me
Timer1.Enabled = True
wb1.Navigate ("http://www.ageofproductions.com")
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Load frmnews
Unload Me
End Sub
Private Sub Timer1_Timer()
If wb1.Busy _
Then
MsgBox "http://www.ageofproductions.com is busy at the moment try back in a few seconds if this continues talk to the owner (_..--ICP--.._)", vbRetryCancel, "Web Page Error Server Busy"
End If
End Sub
Sub StayOnTop(frm As Form)
On Error GoTo don
Dim success%
success% = SetWindowPos(frm.hwnd, HWND_TOPMOST, 0, 0, 0, 0, Flags)
don:
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -