
Win32 Programming
by Rector, Brent E.; Newcomer, Joseph M.-
This Item Qualifies for Free Shipping!*
*Excludes marketplace orders.
Buy New
Rent Textbook
Used Textbook
We're Sorry
Sold Out
eTextbook
We're Sorry
Not Available
How Marketplace Works:
- This item is offered by an independent seller and not shipped from our warehouse
- Item details like edition and cover design may differ from our description; see seller's comments before ordering.
- Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
- Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
- Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.
Summary
Author Biography
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
Table of Contents
(Most chapters conclude with "Further Reading". ) | |
Welcome xliii | |
Tools Required xliii | |
Typeface conventions xlv | |
Icons for insertions xlv | |
Introduction to Windows Concepts | |
What Is Windows? What Is Win 32? 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 | |
windowsh 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 | |
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 | |
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 Handling in Panes | |
The Window Explorer | |
Further Reading | |
Displaying text in a Window | |
Device and Display Contexts | |
When Do You Get a Display Context? Displaying Output upon Receipt of a WM_PAINT Message | |
How Do You Get a Display Context? Processing a WM_PAINT Message | |
Using TextOut to Display Text | |
Logical Coordinates and Device Coordinates | |
The MM_TEXT Mapping Mode | |
What Do the Characters Look Like? How to Use Text Metrics | |
Displaying Information about the Windows Environment | |
Introduction to Scroll Bars | |
The Parts of a Scroll Bar | |
Scrolling Text | |
Subclassing a Window Class | |
What is subclassing? Subclassing Techniques | |
The Sysinfo Program | |
The Source Code | |
Sysinfo Initialization | |
Subclassing the System Metrics Window Class | |
Displaying the System Metrics | |
Scrolling the Window | |
Coming Attractions | |
Examining a Device Context in Depth | |
What Is a Device Context? Display Contexts: A Specific Type of Device Context | |
The Common Display Context | |
The Class Display Context | |
The Private Display Context | |
The Parent Display Context | |
The Window Display Context | |
Other Types of Device Contexts | |
Creating a Device Context | |
The Information Context | |
The Memory Device Context | |
The Metafile Device Context | |
The Capabilities of a Device | |
The Attributes of a Device Context | |
Color Attributes | |
Defining a Color | |
The Bitmap, Brush, Font, Pen, and Region Attr | |
Table of Contents provided by Publisher. All Rights Reserved. |
An electronic version of this book is available through VitalSource.
This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.
By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.
A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.
Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.
Please view the compatibility matrix prior to purchase.