• Microsoft Developer Network
  • ▶Highlights
  • ▶Technical Articles
  • ▶Sample Code
  • ▶Resource and Strategy
  • ▶Knowledge Base and Bug Lists
  • ▶Books and Magazine Articles
  • ▼Product Documentation
    • ▶C/C++ 7.0
    • ▶Macro Assembler 6.0
    • ▶Multimedia Development Kit
    • ▶OLE 1.0 Programmer's Reference
    • ▶Win32 SDK for Windows NT
    • ▶Windows 3.1 DDK
    • ▼Windows 3.1 SDK
      • ▶Getting Started
      • ▼Guide to Programming
        • Title Page
        • ▶Introduction
        • ▶PART 1 Programming in the Windows Environment
        • ▼PART 2 Programming Windows Applications
          • PART 2 Programming Windows Applications
          • ▶Chapter 3 Output to a Window
          • ▶Chapter 4 Keyboard and Mouse Input
          • ▶Chapter 5 Icons
          • ▶Chapter 6 Cursors
          • ▶Chapter 7 Menus
          • ▶Chapter 8 Controls
          • ▶Chapter 9 Dialog Boxes
          • ▶Chapter 10 File Input and Output
          • ▶Chapter 11 Bitmaps
          • ▼Chapter 12 Printing
            • Chapter 12 Printing
            • ▶12.1 Printing with Windows
            • ▶12.6 Canceling a Print Operation
            • ▼12.8 Sample Application: PrntFile
              • 12.8 Sample Application: PrntFile
              • 12.8.1 Adding an AbortDlg Dialog Box
              • 12.8.2 Adding Variables for Printing
              • 12.8.3 Adding an IDM_PRINT Case
              • 12.8.4 Creating the AbortDlg Dialog Box Procedure and AbortProc Function
              • 12.8.5 Adding a GetPrinterDC Function
              • 12.8.6 Exporting the AbortDlg Dialog Box Procedure and AbortProc Function
              • 12.8.7 Compiling and Linking
              • 12.9 Related Topics
          • ▶Chapter 13 Clipboard
        • ▶PART 3 Advanced Programming Topics
      • ▶Programming Tools
      • ▶Programmer's Reference Volume 1: Overview
      • ▶Programmer's Reference Volume 2: Functions
      • ▶Programmer's Reference Volume 3: Messages, Structures, and Macros
      • ▶Programmer's Reference Volume 4: Resources
    • ▶QuickC for Windows
  • ▶Unsupported Tools & Utilities