Windows Mfc Programming I
Download Windows Mfc Programming I PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get Windows Mfc Programming I book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.
Windows MFC Programming I
Windows MFC Programming I begins with the very fundamentals and, in a step by step, gradient manner, develops most all of the basic Windows programming techniques. There are often many different ways to accomplish the same task. So as you move from example to example, expect to see alternative approaches illustrated. Windows MFC Programming I is not a reference manual; rather, expect to see the "whys" and "how comes" that lie behind many of the approaches and techniques. It is my opinion that if you have a feel for what is really going on, you can do a better job of programming and debugging. The first three chapters present Windows C API (the programming interface); they are designed to get you used to programming in a message-driven style which is completely different from the normal DOS C++ style of programming. In chapter 4, the MFC OOP encapsulation of the Windows API is presented illustrating how the beginning features from the first three chapters are encapsulated. Through the next series of chapters, the GUI is introduced a step at a time, such as timers, colors, resource files, menu operations, icons, cursors, dialog operations, the use of global memory, the new file handling functions, image processing, for example. Tool bars and the status bar are presented next followed by the multiple document interface and clipboard operations. Sound and animation effects continue to explore the possibilities of this rich platform. The final chapter discusses the document-view architecture which many professional applications utilize. This is an extensive topic and is one of the longest chapters in the book. Along the way, you are introduced to the Resource Editor, the Class Wizard, and finally the AppWizard. Each is introduced at that point where you can best utilize it to your advantage and know what you are actually doing with it. Windows MFC Programming I has many complete C++ programming examples. While some of the early ones are fairly simple, the latter ones represent fairly complete applications. The benefit of these extended samples is great; you gain an understanding of how the various messages all operate together. All of these sample programs accompany the book. There are a number of very important application design issues that are written this way. Design Rule 1: They highlight some of the potential traps and pitfalls that lie in waiting. Perhaps the biggest barrier to learning Windows programming is the enormous number of identifiers, key values, the API (Application Programming Interface) and the MFC (Microsoft Foundation Classes) class member functions and variable names. For a beginner and more advanced reader, this proliferation of must-know names and identifiers is nothing short of bewildering. One of the key features of this book is that you will always have a greater certainty about what names must be coded as-is and what you have control over. Typeface conventions are designed to aid you in knowing at a glance what names are yours and what are not. Even though you may use any convention desired in your coding, when you refer to this book, the guess work or hunting has been eliminated. While I hope that the index at the end allows you to rapidly find key items, as a programmer, I know the value of being able to find a key identifier or function in the actual samples themselves. The all-in-one large pdf file is fully searchable. I have reworked my out-of-print Intermediate MFC text, which covers the intermediate MFC programming aspects. The sequel book, Windows MFC Programming II continues where this one leaves off and covers newer MFC classes and many advanced topics not found anywhere else!
Windows MFC Programming II
Windows MFC Programming II is the first of two intermediate Windows MFC Microsoft Foundation Class programming textbook, replacing my now out-of-print Intermediate MFC. The book assumes that the reader is skilled in basic Windows MFC programming and proceeds to cover many more advanced topics, especially printing and complex document view handling. Database access is presented as well as many other more advanced topics and controls, such as the list and tree views. Designed for a college level course or for the experienced self-taught, Windows MFC Programming II covers many advanced Windows MFC (Microsoft Foundation Classes) C++ Programming topics. It is designed to provide you with the skills needed for an entry level career in Windows MFC programming. Just check out the table of contents to see what I mean. Windows MFC Programming II assumes that the reader already knows basic MFC programming, covered in the previous book, Windows MFC Programming I. When you have finished this book, you will want to obtain Windows MFC Programming III, which finishes the in depth coverage of intermediate MFC topics. Fonts are covered in great depth, focus is on the many ways that fonts can be created and used in various functions. There are six major and quite different printing situations. Very little information is found in other texts on just how to print in various situations. This book rectifies that deficiency. Details of scaling and the use of various mapping modes are illustrated, including the construction of a ruler. Both list and tree controls are presented in a variety of ways and uses. The document view architecture is reviewed and then greatly expanded upon in a variety of programming situations. Details of just how the document and views are dynamically created by the framework are covered as well. Methods of handling WYSIWYG are presented, along with how to handle word wrap and justification of text. Image processing is detailed including how to handle printing an image in many different ways. Coupling your application to databases is presented both using the ODBC classes as well as the older DAO classes. Printing database based reports is covered as well.
Beginning MFC Programming
The MFC is a collection of C++ classes that programmers can reuse to create the main body of their code that all Windows applications have in common. This is the perfect tutorial to Windows programming with MFC and develops a complete and realistic example application in MFC.