home *** CD-ROM | disk | FTP | other *** search
/ Dan Appleman's Visual Bas…s Guide to the Win32 API / Dan.Applmans.Visual.Basic.5.0.Programmers.Guide.To.The.Win32.API.1997.Ziff-Davis.Press.CD / VB5PG32.mdf / vbpg32 / samples5 / ch12 / abortfor.frm (.txt) next >
Encoding:
Visual Basic Form  |  1997-02-16  |  1.3 KB  |  44 lines

  1. VERSION 5.00
  2. Begin VB.Form AbortForm 
  3.    Caption         =   "Abort Printing"
  4.    ClientHeight    =   1695
  5.    ClientLeft      =   2235
  6.    ClientTop       =   2340
  7.    ClientWidth     =   3795
  8.    BeginProperty Font 
  9.       Name            =   "MS Sans Serif"
  10.       Size            =   8.25
  11.       Charset         =   0
  12.       Weight          =   700
  13.       Underline       =   0   'False
  14.       Italic          =   0   'False
  15.       Strikethrough   =   0   'False
  16.    EndProperty
  17.    ForeColor       =   &H80000008&
  18.    LinkMode        =   1  'Source
  19.    LinkTopic       =   "Form1"
  20.    PaletteMode     =   1  'UseZOrder
  21.    ScaleHeight     =   1695
  22.    ScaleWidth      =   3795
  23.    Begin VB.CommandButton CmdAbort 
  24.       Appearance      =   0  'Flat
  25.       BackColor       =   &H80000005&
  26.       Caption         =   "Press to Abort Print Job"
  27.       Height          =   495
  28.       Left            =   600
  29.       TabIndex        =   0
  30.       Top             =   480
  31.       Width           =   2535
  32.    End
  33. Attribute VB_Name = "AbortForm"
  34. Attribute VB_GlobalNameSpace = False
  35. Attribute VB_Creatable = False
  36. Attribute VB_PredeclaredId = True
  37. Attribute VB_Exposed = False
  38. Option Explicit
  39. ' Copyright 
  40.  1997 by Desaware Inc. All Rights Reserved.
  41. Private Sub CmdAbort_Click()
  42.     AbortPrinting = -1
  43. End Sub
  44.