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 / samples4 / ch12 / abortfor.frm (.txt) next >
Encoding:
Visual Basic Form  |  1996-02-16  |  1.3 KB  |  46 lines

  1. VERSION 4.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.       charset         =   0
  11.       weight          =   700
  12.       size            =   8.25
  13.       underline       =   0   'False
  14.       italic          =   0   'False
  15.       strikethrough   =   0   'False
  16.    EndProperty
  17.    ForeColor       =   &H80000008&
  18.    Height          =   2100
  19.    Left            =   2175
  20.    LinkMode        =   1  'Source
  21.    LinkTopic       =   "Form1"
  22.    ScaleHeight     =   1695
  23.    ScaleWidth      =   3795
  24.    Top             =   1995
  25.    Visible         =   0   'False
  26.    Width           =   3915
  27.    Begin VB.CommandButton CmdAbort 
  28.       Appearance      =   0  'Flat
  29.       BackColor       =   &H80000005&
  30.       Caption         =   "Press to Abort Print Job"
  31.       Height          =   495
  32.       Left            =   600
  33.       TabIndex        =   0
  34.       Top             =   480
  35.       Width           =   2535
  36.    End
  37. Attribute VB_Name = "AbortForm"
  38. Attribute VB_Creatable = False
  39. Attribute VB_Exposed = False
  40. Option Explicit
  41. ' Copyright 
  42.  1996 by Desaware Inc. All Rights Reserved
  43. Private Sub CmdAbort_Click()
  44.     AbortPrinting = -1
  45. End Sub
  46.