home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / CODE_UPLOAD67456132000.psc / Form1.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2000-06-13  |  1.4 KB  |  53 lines

  1. VERSION 5.00
  2. Begin VB.Form Form1 
  3.    BackColor       =   &H00000000&
  4.    BorderStyle     =   0  'None
  5.    Caption         =   "Form1"
  6.    ClientHeight    =   2508
  7.    ClientLeft      =   0
  8.    ClientTop       =   0
  9.    ClientWidth     =   3744
  10.    ForeColor       =   &H0000FF00&
  11.    Icon            =   "Form1.frx":0000
  12.    LinkTopic       =   "Form1"
  13.    MouseIcon       =   "Form1.frx":030A
  14.    MousePointer    =   99  'Custom
  15.    ScaleHeight     =   209
  16.    ScaleMode       =   3  'Pixel
  17.    ScaleWidth      =   312
  18.    ShowInTaskbar   =   0   'False
  19.    StartUpPosition =   3  'Windows Default
  20.    Visible         =   0   'False
  21.    Begin VB.Timer Timer1 
  22.       Interval        =   1000
  23.       Left            =   840
  24.       Top             =   1080
  25.    End
  26. Attribute VB_Name = "Form1"
  27. Attribute VB_GlobalNameSpace = False
  28. Attribute VB_Creatable = False
  29. Attribute VB_PredeclaredId = True
  30. Attribute VB_Exposed = False
  31. Sub CrankItUp()
  32. ModDX7.Init Me.hwnd
  33. End Sub
  34. Sub ShutItDown()
  35. ModDX7.EndIt Me.hwnd
  36. End Sub
  37. Private Sub Form_Click()
  38. ShutItDown
  39. End Sub
  40. Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
  41. Key = KeyCode
  42. End Sub
  43. Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
  44. Key = 0
  45. End Sub
  46. Private Sub Form_Load()
  47. Move 0, 0, 640, 480
  48. End Sub
  49. Private Sub Timer1_Timer()
  50. Debug.Print Frames
  51. Frames = 0
  52. End Sub
  53.