Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
50 used & new from $6.13

Have one to sell? Sell yours here
 
   
The MFC Answer Book: Solutions for Effective Visual C++ Applications
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

The MFC Answer Book: Solutions for Effective Visual C++ Applications (Paperback)

by Eugene Kain (Author)
4.7 out of 5 stars See all reviews (57 customer reviews)

List Price: $54.99
Price: $38.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $16.50 (30%)
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 Friday, July 17? Choose One-Day Shipping at checkout. Details
28 new from $24.16 22 used from $6.13

Frequently Bought Together

The MFC Answer Book: Solutions for Effective Visual C++ Applications + Introduction to MFC Programming with Visual C++ (Microsoft Technologies Series) + Visual C++ MFC Programming by Example
Price For All Three: $118.39

Show availability and shipping details


Customers Who Bought This Item Also Bought

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

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

by George Shepherd
4.6 out of 5 stars (21)  $43.86
Visual C++ MFC Programming by Example

Visual C++ MFC Programming by Example

by John E. Swanke
3.7 out of 5 stars (14)  $38.96
MFC Programming (Addison-Wesley Advanced Windows Series)

MFC Programming (Addison-Wesley Advanced Windows Series)

by Alan R. Feuer
4.5 out of 5 stars (11)  $34.21
Programming Windows®, Fifth Edition (Microsoft Programming Series)

Programming Windows®, Fifth Edition (Microsoft Programming Series)

by Charles Petzold
4.3 out of 5 stars (88)  $37.79
VC++ MFC Extensions by Example

VC++ MFC Extensions by Example

by John E. Swanke
4.1 out of 5 stars (7)  $44.95
Explore similar items

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

See all Editorial Reviews


Product Details


Look Inside This Book

What Do Customers Ultimately 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).
Check a corresponding box or enter your own tags in the field below.
(4)
(2)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

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 Reviews

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

 
13 of 13 people found the following review helpful:
5.0 out of 5 stars Should be in every MFC programmer's library, November 26, 1999
By Howard Trickey (New Jersey, USA) - See all my reviews
(REAL NAME)   
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++.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
18 of 21 people found the following review helpful:
5.0 out of 5 stars Ever wondered how to do this with MFC, January 21, 2000
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.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
8 of 8 people found the following review helpful:
5.0 out of 5 stars Excellent walkthrough, May 27, 2000
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...
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

5.0 out of 5 stars Best MFC Starter book out there
I bought this around 1999, long after I started programming in MFC. The one regret I had was not buying this book sooner. Just the format alone of this book is priceless. Read more
Published on February 7, 2006 by Robert A. Balfe

5.0 out of 5 stars Excellent book
Worth every penny and more!
Published on October 9, 2002 by Jaime Suarez-murias

3.0 out of 5 stars Some pretty good tricks
If you are looking for details about MFC this is NOT the book to buy. If you are looking for some "tricks" well then maybe this will work for you. Read more
Published on July 1, 2002 by Joseph S. Boro

5.0 out of 5 stars A great FAQ
This book is not all-inclusive, you should get Jeff Prosise's "Programming Windows with MFC" if you are looking for that. Read more
Published on January 25, 2002

5.0 out of 5 stars Great reference for stressed MFC programmer
This book is written in a question and answer format, just like a FAQ. Although the content predominantly revolves around documents and views, many other common questions are... Read more
Published on December 28, 2001 by J. Turner

4.0 out of 5 stars Great collection of answers to common problems...
The MFC Answer Book has a great number of handy tips inside that will benefit the novice to intermediate programmer. Read more
Published on December 6, 2001 by D. Holt

1.0 out of 5 stars Really has very few answers
Based upon 49 reviews, this book has a 5-star rating. Amazing!!! I have a dozen or so MFC books, and this one is one of the most useless to me. Read more
Published on June 13, 2001 by J

5.0 out of 5 stars Must Have
This book is a must have for 90 percent of the MFC programers out there. It does not tell you how to do every thing you may want to do, but it gives you enough information and... Read more
Published on March 17, 2001 by John R. Shaw

4.0 out of 5 stars Pretty good book but..
Someone who wrote a review on this book said he likes to know the stats of the people writing reviews, so here: Ag 29, Computer Science Major, graduating shortly, I write a lot of... Read more
Published on March 16, 2001 by cbh11

5.0 out of 5 stars One useful solution makes it worth
This book is a collection of 'recipes'. I had to implement something and the 'recipe' described very clearly how to do it. It saved me a lot of time. Read more
Published on February 4, 2000

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)

Listmania!



Look for Similar Items by Category


Summer Sales

Omaha Steaks Hamburgers
Shop the summer food sale and save up to 50% on salsas and spreads, steaks and burgers, seafood, oils and vinegars, and desserts, only at Amazon Gourmet.

See all sale items

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Pedal and Park

Shop for bike racks and stands
Find the bike rack or stand that works for your space in the Storage & Home Organization Store.

Shop for bike racks and stands

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates