home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmPrintScreen
- BackColor = &H00FFFFFF&
- Caption = "Form1"
- ClientHeight = 3195
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4680
- LinkTopic = "Form1"
- ScaleHeight = 3195
- ScaleWidth = 4680
- StartUpPosition = 3 'Windows Default
- Attribute VB_Name = "frmPrintScreen"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- '--- Quick Print Screen Utility written by Gary Choma
- '--- In a nutshell, public method "PrintScreenSnapShot" calls
- '--- an API to trigger the Windows Print-Screen keypress,
- '--- pastes the screen print from the Windows clipboard
- '--- onto a Form's background, and calls the Form's .Print method to
- '--- print it to the Windows default printer.
- '--- MODIFICATIONS: Made private method "PrintBitmap" public so that
- '--- any Picture object can easily be printed.
- '--- This form can easily be added to existing projects.
- '--- 02/11/2002 GCC - Here's a sample of the code to add to
- '--- a form to enable print-screen feature via F6 keypress:
- 'Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
- ' '--- 12/12/2001 GCC - Allow PrintScreen feature to work on a NON-MDI Child form:
-