nextform.frm

来自「VOD卡拉OK点歌系统源码」· FRM 代码 · 共 58 行

FRM
58
字号
VERSION 5.00
Begin VB.Form nextForm 
   BorderStyle     =   0  'None
   Caption         =   "Form3"
   ClientHeight    =   420
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   3240
   LinkTopic       =   "Form3"
   ScaleHeight     =   420
   ScaleWidth      =   3240
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin VB.Label Label11 
      Appearance      =   0  'Flat
      AutoSize        =   -1  'True
      BackColor       =   &H00008000&
      Caption         =   "没有选择的歌曲"
      BeginProperty Font 
         Name            =   "楷体_GB2312"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFFFF&
      Height          =   435
      Left            =   0
      MouseIcon       =   "nextForm.frx":0000
      MousePointer    =   99  'Custom
      TabIndex        =   0
      Top             =   -15
      Width           =   3270
   End
End
Attribute VB_Name = "nextForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function SetWindowPos Lib "user32" (ByVal h%, ByVal hb%, ByVal x%, ByVal y%, ByVal cx%, ByVal cy%, ByVal f%) As Integer
Private Const SWP_NOMOVE = 2
Private Const SWP_NOSIZE = 1
Private Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE
Private Const HWND_TOPMOST = -1
Private Const HWND_NOTOPMOST = -2

Public Sub Form_Initialize()
res% = SetWindowPos(nextForm.hwnd, HWND_TOPMOST, _
0, 0, 0, 0, FLAGS)

nextForm.Width = Me.Label11.Width
nextForm.Left = 8300 - Me.Width / 2
End Sub

⌨️ 快捷键说明

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