📄 modopenurl.bas
字号:
Attribute VB_Name = "modOpenURL"
'The below code has NOTHING to do with the IPX/SPX protocol or broadcasting.
'It is mearly used for the ending "Goto PSC's site?" thing
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Public Enum T_WindowStyle
Maximized = 3
Normal = 1
ShowOnly = 5
End Enum
'The below code has NOTHING to do with the IPX/SPX protocol or broadcasting.
'It is mearly used for the ending "Goto PSC's site?" thing
Public Sub OpenInternet(Parent As Form, URL As String, _
WindowStyle As T_WindowStyle)
ShellExecute Parent.hwnd, "Open", URL, "", "", WindowStyle
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -