Book description
“Look it up in Petzold” remains the decisive last word in answering questions about Windows development. And in PROGRAMMING WINDOWS, FIFTH EDITION, the esteemed Windows Pioneer Award winner revises his classic text with authoritative coverage of the latest versions of the Windows operating system—once again drilling down to the essential API heart of Win32 programming. Topics include:
The basics—input, output, dialog boxes
An introduction to Unicode
Graphics—drawing, text and fonts, bitmaps and metafiles
The kernel and the printer
Sound and music
Dynamic-link libraries
Multitasking and multithreading
The Multiple-Document Interface
Programming for the Internet and intranets
Packed as always with definitive examples, this newest Petzold delivers the ultimate sourcebook and tutorial for Windows programmers at all levels working with Microsoft Windows 95, Windows 98, or Microsoft Windows NT. No aspiring or experienced developer can afford to be without it.
An electronic version of this book is available on the companion CD.
For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.
Table of contents
- Programming Windows®, Fifth Edition
- Author’s Note
-
I. The Basics
- 1. Getting Started
- 2. An Introduction to Unicode
-
3. Windows and Messages
- A Window of One’s Own
- The Windows Programming Hurdles
-
4. An Exercise in Text Output
- Painting and Repainting
-
An Introduction to GDI
- The Device Context
- Getting a Device Context Handle: Method One
- The Paint Information Structure
- Getting a Device Context Handle: Method Two
- TextOut: The Details
- The System Font
- The Size of a Character
- Text Metrics: The Details
- Formatting Text
- Putting It All Together
- The SYSMETS1.C Window Procedure
- Not Enough Room
- The Size of the Client Area
- Scroll Bars
- Building a Better Scroll
- 5. Basic Drawing
- 6. The Keyboard
- 7. The Mouse
- 8. The Timer
- 9. Child Window Controls
- 10. Menus and Other Resources
-
11. Dialog Boxes
-
Modal Dialog Boxes
- Creating an “About” Dialog Box
- The Dialog Box and Its Template
- The Dialog Box Procedure
- Invoking the Dialog Box
- Variations on a Theme
- A More Complex Dialog Box
- Working with Dialog Box Controls
- The OK and Cancel Buttons
- Avoiding Global Variables
- Tab Stops and Groups
- Painting on the Dialog Box
- Using Other Functions with Dialog Boxes
- Defining Your Own Controls
- Modeless Dialog Boxes
- The Common Dialog Boxes
-
Modal Dialog Boxes
- 12. The Clipboard
-
II. More Graphics
- 13. Using the Printer
- 14. Bitmaps and Bitblts
- 15. The Device-Independent Bitmap
- 16. The Palette Manager
- 17. Text and Fonts
- 18. Metafiles
-
III. Advanced Topics
- 19. The Multiple-Document Interface
- 20. Multitasking and Multithreading
- 21. Dynamic-Link Libraries
- 22. Sound and Music
- 23. A Taste of the Internet
- Index
- About the Author
- Copyright
Product information
- Title: Programming Windows®, Fifth Edition
- Author(s):
- Release date: November 1998
- Publisher(s): Microsoft Press
- ISBN: 9780735642225
You might also like
book
Programming C# 10
C# is undeniably one of the most versatile programming languages available to engineers today. With this …
book
Windows System Programming, Fourth Edition
“If you’re writing a native Win32 program or just want to know what the OS is …
book
Professional C++, 4th Edition
Get up to date quickly on the new changes coming with C++17 Professional C++ is the …
book
Programming C# 8.0
C# is undeniably one of the most versatile programming languages available to engineers today. With this …