home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / vbocxtls / vbtools.exe / %MAINDIR% / SnapScreen demo.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-02-16  |  1.3 KB  |  46 lines

  1. VERSION 5.00
  2. Object = "{D39AF585-C3A9-11D2-8AEE-EA9F9798D91B}#6.0#0"; "VBTOOLS.ocx"
  3. Begin VB.Form Snap 
  4.    Caption         =   "Snap Screen"
  5.    ClientHeight    =   6375
  6.    ClientLeft      =   165
  7.    ClientTop       =   735
  8.    ClientWidth     =   8340
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   6375
  11.    ScaleWidth      =   8340
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin VBTOOLS.SnapScreen SnapScreen1 
  14.       Height          =   4575
  15.       Left            =   0
  16.       TabIndex        =   0
  17.       Top             =   0
  18.       Width           =   6375
  19.       _ExtentX        =   11245
  20.       _ExtentY        =   8070
  21.       SnapScreen      =   -1  'True
  22.    End
  23.    Begin VB.Menu menscreen 
  24.       Caption         =   "Screen"
  25.    End
  26.    Begin VB.Menu mensave 
  27.       Caption         =   "Save"
  28.    End
  29. Attribute VB_Name = "Snap"
  30. Attribute VB_GlobalNameSpace = False
  31. Attribute VB_Creatable = False
  32. Attribute VB_PredeclaredId = True
  33. Attribute VB_Exposed = False
  34. Private Sub Form_Resize()
  35. SnapScreen1.Height = Snap.ScaleHeight
  36. SnapScreen1.Width = Snap.ScaleWidth
  37. End Sub
  38. Private Sub mensave_Click()
  39. SnapScreen1.ScreenFileName = "c:\testsnap.BMP"
  40. End Sub
  41. Private Sub menscreen_Click()
  42. Snap.WindowState = vbMinimized
  43. SnapScreen1.SnapScreen = True
  44. Snap.WindowState = vbNormal
  45. End Sub
  46.