Develop real-world applications in Windows
* Create diverse applications featuring the versatility of Small Windows C++ library
* Learn about object-oriented programming in Windows and how to develop a large object-oriented class library in C++
* Understand how to tackle application-specific problems along with acquiring a deep more » understanding of the workings of Windows architecture
It is critical that modern developers have the right tools to build practical, user-friendly, and efficient applications in order to compete in today s market. Through hands-on guidance, this book illustrates and demonstrates C++ best practices and the Small Windows object-oriented class library to ease your development of interactive Windows applications.
Begin with a focus on high level application development using Small Windows. Learn how to build four real-world applications which focus on the general problems faced when developing graphical applications. Get essential troubleshooting guidance on drawing, spreadsheet, and word processing applications. Finally finish up with a deep dive into the workings of the Small Windows class library, which will give you all the insights you need to build your own object-oriented class library in C++.
WHAT YOU WILL LEARN
* Develop advanced real-world applications in Windows
* Design and implement a graphical object-oriented class library in C++
* Get to grips with the workings of the integral aspects of the Win32 API, such as mouse input, drawing, cut-and-paste, file handling, and drop files
* Identify general problems when developing graphical applications as well as specific problems regarding drawing, spreadsheet, and word processing applications
* Implement classes, functions, and macros of the object-oriented class library developed in the book and how we implement its functionality by calling functions and macros in the Win32 API
ABOUT THE AUTHOR
Stefan Björnander holds a master's degree in computer science, and has worked with software development for many years. He has lectured on programming for the industry and universities. He has also authored Microsoft Visual C++ Windows Applications by Example for Packt Publishing, which gained great acclaim.
TABLE OF CONTENTS
2. Hello, Small World!
3. Building a Tetris Application
4. Working with Shapes and Figures
5. The Figure Hierarchy
6. Building a Word Processor
7. Keyboard Input and Character Calculation
8. Building a Spreadsheet Application
9. Formula Interpretation
10. The Framework
11. The Document
12. The Auxiliary Classes
13. The Registry, Clipboard, Standard Dialogs, and Print Preview
14. Dialogs, Controls, and Page Setup
15. Rational and Complex Numbers « less
Building Mac OS X, Linux, and Windows Applications
Cross-Platform Development in C++ is the definitive guide to developing portable C/C++ application code that will run natively on Windows, Macintosh, and Linux/Unix platforms without compromising functionality, usability, or quality.
Long-time Mozilla and Netscape developer Syd Logan systematically more » addresses all the technical and management challenges associated with software portability from planning and design through coding, testing, and deployment. Drawing on his extensive experience with cross-platform development, Logan thoroughly covers issues ranging from the use of native APIs to the latest strategies for portable GUI development. Along the way, he demonstrates how to achieve feature parity while avoiding the problems inherent to traditional cross-platform development approaches.
This book will be an indispensable resource for every software professional and technical manager who is building new cross-platform software, porting existing C/C++ software, or planning software that may someday require cross-platform support.
Build Cross-Platform Applications without Compromise
Throughout the book, Logan illuminates his techniques with realistic scenarios and extensive, downloadable code examples, including a complete cross-platform GUI toolkit based on Mozilla’s XUL that you can download, modify, and learn from. Coverage includes
* Policies and procedures used by Netscape, enabling them to ship Web browsers to millions of users on Windows, Mac OS, and Linux
* Delivering functionality and interfaces that are consistent on all platforms
* Understanding key similarities and differences among leading platform-specific GUI APIs, including Win32/.NET, Cocoa, and Gtk+
* Determining when and when not to use native IDEs and how to limit their impact on portability
* Leveraging standards-based APIs, including POSIX and STL
* Avoiding hidden portability pitfalls associated with floating point, char types, data serialization, and types in C++
* Utilizing platform abstraction libraries such as the Netscape Portable Runtime (NSPR)
* Establishing an effective cross-platform bug reporting and tracking system
* Creating builds for multiple platforms and detecting build failures across platforms when they occur
* Understanding the native runtime environment and its impact on installation
* Utilizing wxWidgets to create multi-platform GUI applications from a single code base
* Thoroughly testing application portability
* Understanding cross-platform GUI toolkit design with Trixul « less
“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 more » again drilling down to the essential API heart of Win32 programming « less
The Complete Guide to Threads
Using multiple threads, you can create high-performance servers, build extensions for Internet servers, take advantage of multiprocessor systems, build sophisticated objects in OLE and COM, and improve application responsiveness. Writing such software requires more than theory and a reference manual; more » it requires a comprehensive understanding of how everything fits together and a guide to what works and what doesnt. Multithreading is supported under Windows NT and Windows 95 and later through the Win32 API, but coverage of this important topic has been sporadic and incomplete until now.
In Multithreading Applications in Win32, with just enough theory and lots of sample code, Jim Beveridge and Bob Wiener show developers when, where, and how to use multithreading. Included in the book are: Internet development examples, including ISAPI and WinSock. Hands-on coverage of how to use threads and overlapped I/O for server development. How to use the C run-time library and MFC in a multithreaded environment. Examples in C and C++. Comparisons to UNIX for developers transitioning from UNIX to Win32. The enclosed CD-ROM includes the code and sample applications from the book, including code t « less