Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Acceptable See details
$5.84 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
The MFC Answer Book: Solutions for Effective Visual C++ Applications
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The MFC Answer Book: Solutions for Effective Visual C++ Applications [Paperback]

Eugene Kain (Author)
4.6 out of 5 stars  See all reviews (58 customer reviews)

List Price: $54.99
Price: $33.15 & this item ships for FREE with Super Saver Shipping. Details
You Save: $21.84 (40%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 3 left in stock--order soon (more on the way).
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback $33.15  

Book Description

0201185377 978-0201185379 August 22, 1998
The MFC Answer Book: Solutions for Effective Visual C++ Applications is written for Windows developers who want to go beyond Wizard-supplied functionality and incorporate more sophisticated and customized user interface features into their applications. This book will save you days of frustration by providing answers to more than 130 tough, real-world programming questions, such as *How do I make my application remember the last active document and automatically reopen it? *How do I dynamically replace the view displayed in a window with another kind of view? *How do I implement an expanding dialog box? *How do I embed a property sheet inside another window, such as a form view or a dialog box? *How do I display and manage a progress indicator in a status bar pane? *How do I implement advanced and customized printing features in my application? The MFC Answer Book offers the shortest path from frequently encountered programming problems to corresponding step-by-step solutions that you can integrate immediately into your current project. The question and answer format of this book makes it ideal for developers looking for quick answers to a pressing questions.In addition to providing a concise, concrete answer to each question--along with immediately reusable code--this book also contains in-depth discussions that provide a better understanding of the inner workings of MFC applications to help you sharpen your MFC programming skills. This book also explores many utility functions and classes that dramatically reduce the effort needed to add frequently asked-for improvements and customizations to your applications. The comprehensive contents, combined with an extensive, cross-referenced index, makes it easy to zoom in on exactly the solution you need. If you want to enhance your MFC skills and learn effective techniques that will allow you to add outstanding features to your Windows applications, there is no better resource than this book. 0201185377B04062001

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

The MFC Answer Book: Solutions for Effective Visual C++ Applications + MFC Internals: Inside the Microsoft(c) Foundation Class Architecture + Introduction to MFC Programming with Visual C++
Price For All Three: $110.18

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • MFC Internals: Inside the Microsoft(c) Foundation Class Architecture $38.53

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Introduction to MFC Programming with Visual C++ $38.50

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

Amazon.com Review

Getting the most out of your Microsoft Foundation Classes (MFC) applications is the goal of Eugène Kain's The MFC Answer Book. Though it does not cover newer Internet Explorer-style enhancements, this title offers some indispensable tips for writing more attractive MFC applications in Visual C++.

The book begins with an excellent tour of the MFC document/view architecture. As the author notes, Visual C++ wizards let you generate simple, functional multiple-document interface (MDI) applications, but you're on your own after that. To remedy this gap, the author shares his expertise for building better MDI applications. He includes how to manage more than one view, as well as how to save and reload files effectively.

The same question-and-answer approach is used for such topics as views, dialog boxes, and property sheets. Standout tips here include how to size and control views, as well as how to change the color and font used for dialog controls. The author also shows you how to create applications that run in full-screen mode, just like in Microsoft Word 97. Toolbars, menus, and printing functions round out the tour.

Throughout this text, Kain provides plenty of short, clear programming examples that show exactly how to solve some of the most perplexing and common problems faced by the working MFC programmer. There's little doubt that The MFC Answer Book can save you hours of experimenting on your own; it can help you create significantly more responsive and appealing MFC programs. --Richard Dragan

Review

Read the full review for this book.

The MFC Answer Book is organized as a large collection of frequently asked questions (FAQs) and programming problems accompanied by the detailed description of how the MFC classes (and the Visual C++ wizards) can be leveraged to build effective solutions. The questions are divided into categories based on the main class, the MFC-specific mechanism, or the user-interface feature they can be more closely associated with. Among the many categories you can find manners to customize the infamous document/view paradigm, manage documents, customizing dialog box elements, operating menus, toolbars and status bars, and coping with common issues of the printing and print preview mechanisms. For every FAQ, the question is first formulated in a concise format. Subsequently, the author provides the theoretical explanation of what the question really means and how the MFC machinery can accomplish it. Then the equivalent source code is presented in its entirety, coupled by both inline comments and step-by-step instructions. Occasionally, this part is followed by a section that delves deeper into the MFC architecture and unearths its interaction with the Windows APIs, obviously aimed at the more curious readers who wish to learn why the solution would work like it does. Eventually the "See Also" section suggests other FAQs covered by the book that are strictly related, and therefore would probably be a profitable read as a companion to the current one. --Davide Marcato, Dr. Dobb's Journal -- Dr. Dobb's Journal


Product Details

  • Paperback: 704 pages
  • Publisher: Addison-Wesley Professional (August 22, 1998)
  • Language: English
  • ISBN-10: 0201185377
  • ISBN-13: 978-0201185379
  • Product Dimensions: 9.3 x 7.4 x 1.5 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (58 customer reviews)
  • Amazon Best Sellers Rank: #581,246 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

58 Reviews
5 star:
 (46)
4 star:
 (7)
3 star:
 (3)
2 star:    (0)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (58 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

14 of 14 people found the following review helpful:
5.0 out of 5 stars Should be in every MFC programmer's library, November 26, 1999
By 
This review is from: The MFC Answer Book: Solutions for Effective Visual C++ Applications (Paperback)
I now own four Visual C++ books, and after a year or so of programming with MFC, this is often the book I turn to first. When you've used MFC for a while, you realize that if your application fits exactly into the mold forseen by the MFC programmers, your job is a snap. But I've never had an application quite like that. There is always something that has to be different from the straight-and-narrow path. This book is the first line of defence for how to deal with those tweaks.

Many of the questions that this book answers cannot be answered by reading Microsoft's documentation (this is not particularly a slam at Microsoft: the system is just too huge to document everything to the last detail), and the only real way to answer them is to read the source code for MFC. Luckily for us, Eugene Kain has done this. A great feature of the book is that he gives both cookbook recipes to achieve a required tweak, AND an explanation of the relevant source code, so that you gain an understanding of how you might do something similar-but-not-quite-the-same.

My only complaint is that I want volume II, volume III, ...!

I recommend this book to all the (Unix background) programmers in my center that are starting to use Visual C++.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


20 of 23 people found the following review helpful:
5.0 out of 5 stars Ever wondered how to do this with MFC, January 21, 2000
This review is from: The MFC Answer Book: Solutions for Effective Visual C++ Applications (Paperback)
Audience: Intermediate and above.

Chapter 0 - Terminology and Conventions

Chapter 1 - Document/View Architecture Backgrounder

Chapter 2 - Documents and Document Templates

- Managing Document Templates

- Managing Documents

- Managing the Recent Files list (MRU)

- Miscellaneous Items

Chapter 3 - Views and Frame Windows

- General Topics

- Opening and Closing Views and Frame Windows

- Managing Sizes and Positions

- Managing Caption, Icons, Cursors, and Backgrounds

- Form Views

- Splitter Windows

- Switching Views

- Miscellaneous Items

Chapter 4 - Dialog Boxes

- General Topics

- Managing Controls in a Dialog Box

Chapter 5 - Property Sheet

- General Topics

- Managing Tabs

- Embedding Property Sheets

Chapter 6 - Toolbars and Status Bars

- Toolbars

- Status Bars

- General Control Bar Topic

Chapter 7 - Menus

Chapter 8 - Printing and Print Preview

Appendix A - Utility Functions and Classes

This book is not about teaching MFC basics or fundamentals, it's all about hints and tricks that answers the question ... have you ever wondered how to do this in MFC? I sat down over the week-end for about several hours looking though the book and found it to be very helpful. It doesn't bog you down with large sample code, but it gives you snippets of code that just goes straight to the point.. Be aware this book is not for beginners, but you don't have to be an expert on MFC to understand this book either. This is definitely a keeper for me and I suspect that some time in the future will come in handy as a good reference book.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 9 people found the following review helpful:
5.0 out of 5 stars Excellent walkthrough, May 27, 2000
This review is from: The MFC Answer Book: Solutions for Effective Visual C++ Applications (Paperback)
I have EVERY bible on MFC. professional mfc, windows withh mfc visual c++ inside but I found this book the most valuable. Instead of bombarding you with jargon and theorie this book can help you learn a lot better than others, for a great deal i do not care about mfc internals casue I DO NOT HAVE THE TIME to learn everything MFC is suppposed to be a library to USE not to completle dissect , sometimes you just have to accept certain things and work wiht them, I wont deny that I just copy and pase a lot from the examples..but even then its easy to see where you are heading and whats actually happening as the source is very good commented, the author even helped me wiht a serious problem.. you wwant somethign else than the usual boring looking mfc stuff..check this one out...
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(9)
(7)
(5)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!




Look for Similar Items by Category


Look for Similar Items by Subject