Win32 Programming (inbunden)
Fler böcker inom
Format
Inbunden (Hardback)
Språk
Engelska
Antal sidor
1568
Utgivningsdatum
1997-01-01
Upplaga
1
Förlag
Addison Wesley
Medarbetare
Newcomer, Joseph M.
Illustratör/Fotograf
illustrations
Illustrationer
Ill.
Dimensioner
241 x 195 x 60 mm
Vikt
2480 g
Antal komponenter
1
ISBN
9780201634921

Win32 Programming

For Windows 95 and Windows NT

Inbunden,  Engelska, 1997-01-01

Slutsåld

Windows developers: a thorough understanding of the Windows API will enable you to create applications that are elegant, efficient, and powerful.

You will find comprehensive information on all aspects of Windows GUI programming, such as:
  • Windows Controls, including the common controls
  • GDI, including new features like transformations and geometric pens
  • Printing, including a reusable print engine
  • Common dialogs, including customization
  • Background processing, including synchronization
In addition, the book covers such important advanced topics as creation of Dynamic Link Libraries, storage management, windows subclassing, the Multiple Document Interface (MDI), and threads and their synchronization.

More than just an introductory book, Win32 Programming is a reference to many of the more obscure and sometimes incomprehensible advanced features of the user interface and graphics subsystems. It is useful not only for C programmers but also for C++/MFC programmers because the API forms the basis for most MFC methods. The book's extensive and comprehensive index means you will never again have to search through pages of examples to find the example of the API function you want to see. This book is designed both to teach basic Windows programming and to be a useful companion for years to come.

This book comes in two volumes they both have the same ISBN. 0201634929 B04062001

Volume 1 ends with Chapter 10, Volume 2 begins with Chapter 11.

Kundrecensioner

Har du läst boken? Sätt ditt betyg »

Övrig information

Brent E. Rector is President of Wise Owl Consulting, Inc., a firm that specializes in Windows/COM development and consulting. He also teaches classes on COM, ATL, and MTS for DevelopMentor, a leading COM education firm. He received the Microsoft Annual MVP (Most Valuable Professional) award for his contributions to CompuServe's Windows forums. Joseph M. Newcomer is head of The Joseph M. Newcomer Company, where he specializes in Windows application design, device drivers, and real-time and embedded systems. He has considerable experience in compiler and operating system design and implementation. A frequent contributor to Dr. Dobb's Journal, he has also written several books, including Win32 Programming (with Brent Rector, Addison-Wesley). In addition to his consulting practice, he serves as adjunct senior scientist at Carnegie Mellon University and has been an active contributor to CompuServe and Internet Windows online forums. Dr. Newcomer is one of the principal authors of IDL: The Language and Its Implementation, and is co-inventor on several patents on distributed information technology. In recognition of these contributions, he was named a Most Valuable Professional (MVP) by Microsoft.0201634929AB04062001

Innehållsförteckning

(Most chapters conclude with "Further Reading".)

Welcome xliii.


Tools Required xliii.


Typeface conventions xlv.


Icons for insertions xlv.


1.

Introduction to Windows Concepts.

What Is Windows?

What Is Win32?

An Historical Perspective on User Interfaces.

Differences between a Windows Program and a Typical DOS or Unix Program.

Resource Sharing.

Graphical User Interface.

What about Unix, X, Motif, OS/2, or the Macintosh?

Input Facilities.

Memory Management.

Device-Independent Graphics.

The Windows Programming Model.

The Conceptual Model.

Windows and Their Associated Window Functions.

Windows Queues and the Message Loop.

Windows Operating Modes.

Program Memory Models.

Memory Models and Porting 16-bit Code.

__cdecl and __stdcall Calling Sequences.

Static and Dynamic Linking.

Dynamic Link Libraries.

Exports and Imports, or Who's Looking for Whom?

Windows Memory Management.

The windows.h Header File.

windows.h typedef Declarations.

Getting a Handle on Handles.

Using the Windows C Runtime Libraries and Header Files.

Using Strict Type Checking.

Naming Conventions.

Function Names.

Parameter Names.

Example Code.

Diving Right In.

Further Reading.



2.

A Skeletal Windows Application.

The Skeleton Application Source Program.

The WinMain Function.

The Parameters to WinMain.

WinMain Initialization.

Initialization: initInstance.

WinMain's Message Loop.

The Window Function.

General Structure.

Message Handling: WM_DESTROY.

Message Handling: WM_COMMAND.

The About Dialog Function.

The Components of the Skeleton Application.

Resource Definition Files.

The Skeleton.h Header File.

Building and Running the Skeleton Program.

Message Crackers.

Further Reading.



3.

Exploring Variations on a Window.

Default Behavior for a Window.

My, How Stylish You Look.

Class Styles.

Window Styles.

Overlapped Windows.

Pop-up Windows.

Child Windows.

Other Window Styles.

Extended Window Styles.

The Panes Example Program.

The Panes Source Code.

Class Registration in Panes.

Window Creation in Panes.

Message Hand...