Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


“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.

Subscriber Reviews

Average Rating: 4.833333333333333 out of 5 rating Based on 6 Ratings

"Charles is extremely intelligible author" - by Alex on 25-APR-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Deep and in very understandable way Charles describes GDI layer.
I've read it almost 10 years ago and pretty often some things comes to my mind (I'm not a GUI developer but this book is more than just useful for understanding the concepts)

Report as Inappropriate

"13 years old, and not showing it!" - by Marco on 27-OCT-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I am one of those guys, mentioned by the Author, that comes from MS-DOS assembly language.
I left the Microsoft world early in my career and when I came back I couldn't understand what they were talking about any more. .NET? Managed C++? Where was the real Windows gone?
How does it work nowadays? Well, this book gave me the most refreshing answer.
Windows is still there and to programmers like me it works exactly as it did almost 20 years ago. Almost nothing has changed. The API are virtually the same.
I grabbed the freely available Visual C++ 2010 Express Edition and I could compile the code in this book almost without a hitch.
Well, the Express edition doesn't provide the resource editor, hence the .RC files have to be written with an old fashioned text editor and then imported into the Visual Studio project, but, hey, that's the way you learn things.
So, I know that I am going to write something totally obvious to middle-aged programmers, but if you really want to understand, first hand, how things work in Windows, this is the right place to start.

Report as Inappropriate

Table of Contents