📄 frmprivatemessage.frm
字号:
VERSION 5.00
Begin VB.Form frmPrivateMessageReply
AutoRedraw = -1 'True
BackColor = &H00EBF5F4&
BorderStyle = 0 'None
Caption = "Private Message"
ClientHeight = 3090
ClientLeft = 0
ClientTop = 0
ClientWidth = 6915
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmPrivateMessage.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
PaletteMode = 1 'UseZOrder
ScaleHeight = 206
ScaleMode = 3 'Pixel
ScaleWidth = 461
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.PictureBox WindowBorder
BorderStyle = 0 'None
Height = 420
Left = 0
Picture = "frmPrivateMessage.frx":0BC2
ScaleHeight = 420
ScaleWidth = 7575
TabIndex = 9
Top = 0
Width = 7575
Begin MynetChat.chameleonButton cmdClose
Height = 255
Left = 6480
TabIndex = 10
ToolTipText = "Close"
Top = 120
Width = 255
_ExtentX = 450
_ExtentY = 450
BTYPE = 3
TX = "chameleonButton1"
ENAB = -1 'True
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
COLTYPE = 2
FOCUSR = -1 'True
BCOL = 13160660
BCOLO = 13160660
FCOL = 0
FCOLO = 0
MCOL = 12632256
MPTR = 1
MICON = "frmPrivateMessage.frx":A858
PICN = "frmPrivateMessage.frx":A874
UMCOL = -1 'True
SOFT = 0 'False
PICPOS = 0
NGREY = 0 'False
FX = 0
HAND = 0 'False
CHECK = 0 'False
VALUE = 0 'False
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "私聊 ..."
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Left = 240
TabIndex = 11
Top = 105
Width = 1695
End
End
Begin VB.TextBox txtprivatemessage
Appearance = 0 'Flat
Height = 1300
Left = 360
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 7
Top = 945
Width = 6200
End
Begin VB.PictureBox MyButtonDefSkin
AutoRedraw = -1 'True
AutoSize = -1 'True
BorderStyle = 0 'None
Height = 315
Left = 0
Picture = "frmPrivateMessage.frx":AD3A
ScaleHeight = 21
ScaleMode = 3 'Pixel
ScaleWidth = 150
TabIndex = 4
Top = 4200
Width = 2250
End
Begin MynetChat.MyButton cmdReply
Height = 495
Left = 5230
TabIndex = 5
Top = 2475
Width = 1455
_ExtentX = 2566
_ExtentY = 873
SPN = "MyButtonDefSkin"
Text = "回复 "
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Picture = "frmPrivateMessage.frx":D290
End
Begin MynetChat.MyButton cmdCancel
Height = 495
Left = 3720
TabIndex = 6
Top = 2475
Width = 1455
_ExtentX = 2566
_ExtentY = 873
SPN = "MyButtonDefSkin"
Text = "取消 "
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Picture = "frmPrivateMessage.frx":D706
End
Begin MynetChat.MyButton MyButton1
Height = 1575
Left = 240
TabIndex = 8
Top = 810
Width = 6445
_ExtentX = 11377
_ExtentY = 2778
SPN = "MyButtonDefSkin"
Text = "MyButton1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "接收自:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 225
Left = 225
TabIndex = 3
Top = 525
Width = 1335
End
Begin VB.Label lblnameby
BackStyle = 0 'Transparent
Caption = "谁啊:)"
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008000&
Height = 255
Left = 1680
TabIndex = 2
Top = 525
Width = 1335
End
Begin VB.Label lbltime
BackStyle = 0 'Transparent
Caption = "6:27:50 A.M"
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008000&
Height = 255
Left = 1560
TabIndex = 1
Top = 2445
Width = 1575
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "接收时间:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 240
Left = 240
TabIndex = 0
Top = 2445
Width = 1095
End
End
Attribute VB_Name = "frmPrivateMessageReply"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
' :) 人人为我,我为人人 :)
'枕善居汉化收藏整理
'发布日期:05/08/03
'描 述:我的网络聊天室 (客户端)
'网 站:http://www.mndsoft.com/
'e-mail :mnd@mndsoft.com
'OICQ :88382850
'****************************************************************************
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const WM_PASTE = &H302
'Round the form
Dim rndfrm As New ROUND_FORM
Dim localclientname As String
Private Sub cmdClear_Click()
txtprivatemessage.Text = ""
End Sub
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub cmdreply_Click()
Client.clientpmsend.RemoteHost = lblnameby.Caption
Client.clientpmsend.RemotePort = 8000
Client.clientpmsend.SendData localclientname & ":" & txtprivatemessage.Text
DoEvents
Unload Me
End Sub
Private Sub Form_Load()
lbltime.Caption = Time
localclientname = Client.txtclientname.Text
'round form shape
rndfrm.ROUND_FORM Me, 12, 1, 1
End Sub
Private Sub WindowBorder_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
ReleaseCapture
SendMessage Me.hWnd, &HA1, 2, 0
Exit Sub
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -