|
|
发表于 2013-7-8 16:33:28
|
显示全部楼层
本帖最后由 2012ppszxc 于 2014-10-26 15:59 编辑
VERSION 5.00
Object = "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0"; "ieframe.dll"
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "Form1"
ClientHeight = 5565
ClientLeft = 45
ClientTop = 390
ClientWidth = 8325
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 5565
ScaleWidth = 8325
StartUpPosition = 3 '窗口缺省
Begin SHDocVwCtl.WebBrowser WebBrowser1
Height = 5535
Left = 0
TabIndex = 0
Top = 0
Width = 8295
ExtentX = 14631
ExtentY = 9763
ViewMode = 0
Offline = 0
Silent = 0
RegisterAsBrowser= 0
RegisterAsDropTarget= 1
AutoArrange = 0 'False
NoClientEdge = 0 'False
AlignLeft = 0 'False
NoWebView = 0 'False
HideFileNames = 0 'False
SingleClick = 0 'False
SingleSelection = 0 'False
NoFolders = 0 'False
Transparent = 0 'False
ViewID = "{0057D0E0-3573-11CF-AE69-08002B2E1262}"
Location = "http:///"
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
WebBrowser1.Navigate "http://fm.baidu.com/?embed"
End Sub
Private Sub Form_Resize()
WebBrowser1.Width = Form1.ScaleWidth
WebBrowser1.Height = Form1.ScaleHeight
WebBrowser1.Width = Form1.Width
WebBrowser1.Height = Form1.Height ' 浏览器高度随窗口大小调整而变化
End Sub
说明:
上面是Form1.frm的代码 |
-
|