VERSION 5.00
Begin VB.Form aimChatJoin 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Join Chat"
   ClientHeight    =   975
   ClientLeft      =   4530
   ClientTop       =   2895
   ClientWidth     =   2295
   Icon            =   "aimChatJoin.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   975
   ScaleWidth      =   2295
   Begin VB.TextBox txtRoom 
      Height          =   285
      Left            =   120
      TabIndex        =   0
      Text            =   "virtualhypnotist"
      Top             =   120
      Width           =   2055
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "Cancel"
      Height          =   375
      Left            =   1200
      TabIndex        =   2
      Top             =   480
      Width           =   975
   End
   Begin VB.CommandButton cmdJoin 
      Caption         =   "Join"
      Default         =   -1  'True
      Height          =   375
      Left            =   120
      TabIndex        =   1
      Top             =   480
      Width           =   975
   End
End
Attribute VB_Name = "aimChatJoin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'AIM code originally by
'Chad J. Cox (of DosFX) and Tom Grimshaw
'
'code modified by FollowTheWatch55 for VH

Option Explicit

Private Sub cmdCancel_Click()
  Unload Me
End Sub

Private Sub cmdJoin_Click()
  If aimSignOn.wskAIM.state = sckConnected And txtRoom.Text <> "" Then
    Call SendProc(2, "toc_chat_join 4 " & Chr(34) & txtRoom.Text & Chr(34) & Chr(0))
    Unload Me
  End If
End Sub

Private Sub Form_Load()
  Me.Left = (ScreenX / 2) - (Me.Width / 2)
  Me.Top = (ScreenY / 2) - (Me.Height / 2)
End Sub
