home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / hotkeyax / example.frm (.txt) next >
Encoding:
Visual Basic Form  |  1998-08-15  |  1.2 KB  |  42 lines

  1. VERSION 5.00
  2. Object = "{E069E8D1-114F-11D1-B1EA-0080C863365E}#8.0#0"; "HotKey.ocx"
  3. Begin VB.Form Form1 
  4.    Caption         =   "Example"
  5.    ClientHeight    =   2490
  6.    ClientLeft      =   45
  7.    ClientTop       =   345
  8.    ClientWidth     =   3750
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   2490
  11.    ScaleWidth      =   3750
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin VB.CommandButton Command1 
  14.       Caption         =   "Exit"
  15.       Height          =   372
  16.       Left            =   1080
  17.       TabIndex        =   0
  18.       Top             =   1200
  19.       Width           =   1692
  20.    End
  21.    Begin HotKey.HotKeyReciver HotKeyReciver1 
  22.       Left            =   1680
  23.       Top             =   360
  24.       _ExtentX        =   847
  25.       _ExtentY        =   847
  26.       Interval        =   100
  27.       _RegisterA      =   $"example.frx":0000
  28.       _RegisterB      =   $"example.frx":000A
  29.       _RegisterC      =   $"example.frx":0014
  30.    End
  31. Attribute VB_Name = "Form1"
  32. Attribute VB_GlobalNameSpace = False
  33. Attribute VB_Creatable = False
  34. Attribute VB_PredeclaredId = True
  35. Attribute VB_Exposed = False
  36. Private Sub Command1_Click()
  37.     End
  38. End Sub
  39. Private Sub HotKeyReciver1_HotKeyDown()
  40.     MsgBox "KeyPress"
  41. End Sub
  42.