• Microsoft Developer Network
  • ▶Highlights
  • ▶Technical Articles
  • ▶Sample Code
  • ▶Resource and Strategy
  • ▶Knowledge Base and Bug Lists
  • ▼Books and Magazine Articles
    • ▼Programming Windows 3.0 (Petzold)
      • Preface
      • ▶PART 1 GETTING STARTED
      • ▶PART 2 READING INPUT
      • ▶PART 3 USING RESOURCES
      • ▼PART 4 THE GRAPHICS DEVICE INTERFACE
        • PART 4 THE GRAPHICS DEVICE INTERFACE
        • ▼Chapter 11 An Introduction to GDI
          • Chapter 11 An Introduction to GDI
          • THE GDI PHILOSOPHY
          • ▼THE DEVICE CONTEXT
            • THE DEVICE CONTEXT
            • Getting the Handle to the Device Context
            • Getting Device Context Information
            • The DEVCAPS1 Program
            • The Size of the Device
            • Finding Out About Color
            • The Device Context Attributes
            • Saving Device Contexts
          • ▶THE MAPPING MODE
        • ▶Chapter 12 Drawing Graphics
        • ▶Chapter 13 Bits, Blts, and Metafiles
        • ▶Chapter 14 Text and Fonts
        • ▶Chapter 15 Using the Printer
      • ▶PART 5 DATA EXCHANGE AND LINKS
    • ▶Advanced MS-DOS Programming
    • ▶MS-DOS Programmer's Reference
    • ▶MS Systems Journal
  • ▶Product Documentation
  • ▶Unsupported Tools & Utilities