Amazon.com: Developing Professional Applications for Windows 98 and NT Using MFC (0076092005254): Marshall Brain, Lance Lovette: Books

Buy Used
Used - Good See details
$4.73 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Have one to sell? Sell yours here
Developing Professional Applications for Windows 98 and NT Using MFC
 
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.

Developing Professional Applications for Windows 98 and NT Using MFC [Paperback]

Marshall Brain (Author), Lance Lovette (Author)
4.0 out of 5 stars  See all reviews (5 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more


Book Description

May 27, 1999 0130851213 978-0130851215 3rd
This is a huge, single-volume storehouse of practical information for Visual C++ and MFC developers at all skill levels. It's a best-seller -- and it's just been fully updated to cover Windows 98 and NT 4. The authors offer precise, comprehensive coverage of everything MFC programmers need to succeed, from the basics to advanced database, OLE and thread support. Learn how to make the most of the AppWizard and Class Wizard; work with resource editors, canned dialogs, list and edit controls, debugging, and utility classes, and more. You'll find extensive coverage of advanced user interface features such as expanding dialogs and subclassed graphical lists. You also get a complete electronic version of the book on CD-ROM in Adobe Acrobat form, so it's easy to refer to the text as you take advantage of the book's many examples.

Editorial Reviews

From the Inside Flap

Getting Your Bearings

You are probably opening this book because you are new to Windows Programming or because you are new to MFC (Microsoft Foundation Classes) or the Visual C++ programming environment. For example, you might be an experienced UNIX or Macintosh programmer. Or perhaps you have a lot of talent with C programming and command-driven user interfaces on PCs and want to move over to Windows. You may be experienced with Windows programming in C, but have never before used MFC and C++ to develop Windows applications. Regardless of your origin, you will find that as you try to make your transition you are hampered by two problems. The purpose of this book is to quickly solve those problems so that you can begin creating your own professional applications with Visual C++ as quickly as possible.

The first problem is mental: you have to get past the wall that surrounds Visual C++. That wall arises because of the obvious complexity of the Windows and C++ programming environments. When you load Visual C++ from its CD, you notice that there are tens of thousands of pages of documentation, hundreds of sample programs, and untold megabytes of help files. No one has the time to sort through all of this material, but you know that hidden in those megabytes are hundreds of important concepts that you need to master.

The second problem is more pedestrian: you have to pick a place to start. But where should you begin? How do you write a simple Windows application? How do you learn how to write an advanced one?

This book is designed to help you move into the Visual C++ environment rapidly and confidently. The purpose of this chapter is to help you get your bearings in this new environment. It will introduce you to Visual C++ and then give you a starting point and a direction so that you can become an accomplished Windows programmer very quickly using the most modern tools and techniques available.

What is Visual C++?

The Visual C++ environment is huge and can be extremely intimidating initially. Visual C++ combines a complete suite of powerful tools into a single application development environment, and the first time you face all of these tools it can be very difficult to discern what they all do or how to use them. When you look at the book reader application that comes with the Visual C++ CD-ROM, you face another hurdle: You find thousands and thousands of pages in many different books. The thought of wading through all of these manuals can be daunting.

So letUs start at the beginning and look at Visual C++ in an organized way. First of all, what is it? Here is a brief summary:

Visual C++ is a C++ compiler

Visual C++ is a debugging environment

Visual C++ is an application framework generator

Visual C++ is a project manager

Visual C++ is an easy way to design and implement menus, dialogs, and other "resources"

Visual C++ is a programmer acceleratorQseveral tools inside Visual C++ are designed to make you more efficient by making your life as a programmer easier or by reducing the code you must write

In other words, Visual C++ is a complete and extremely powerful application development environment. In order to take full advantage of this environment, you have to become comfortable with all the tools, and you have to know how they can work together to accelerate your software development cycle.

In its most basic form, Visual C++ is simply a C++ compiler. You can use it to create simple text programs in C or C++. If you would like to try this out, go to Appendix B.1 and work through the example there. You will find that it is extremely easy to write, compile, and debug simple text programs using Visual C++.

Most people who purchase Visual C++ do not want to create text programs, however. They want to create advanced Windows applications that make effective use of the Windows 98 and Windows NT user interface. To do this, you must know C++, and you must understand the MFC hierarchy. MFC is designed make you as productive as possible by encapsulating common Windows code in classes that are already written, tested, and debugged. Once you invest the time to learn MFC, you are greatly rewarded in increased speed, flexibility and robustness.

Part 1 of this book gives you a thorough introduction to MFC. It shows you the basic principles used in every MFC program you write. Part 2 gives a complete overview of all the controls and features that MFC offers. Part 2 contains hundreds of examples that make it easy to understand the different MFC classes.

Once you feel comfortable with MFC, you are ready to begin creating professional Windows applications. Part 3 introduces the AppWizard, the ClassWizard, and the resource editing tools of Visual C++. The AppWizard is your starting point when creating any full-blown Windows application: It helps you by generating a complete file framework that organizes the entire application around a consistent core of MFC classes. The ClassWizard, in combination with the resource editing features that the Visual C++ environment provides, then makes it easy to add to and complete your application by helping you design, create, and install menus, dialog boxes, and other application resources. The ClassWizard also helps you add the code that lets your application respond to user input properly. Using these three toolsQthe AppWizard, the ClassWizard, and the resource editorsQtogether with the MFC class hierarchy, it is extremely easy to complete professional applications very quickly. Part 3 contains four different example applications to help demonstrate the process.

Part 4 continues by demonstrating advanced features. It shows you how to use a variety of techniques to create such things as expanding dialogs, property sheets, dialog bars, splash screens, self-drawn controls and bitmapped backgrounds. These techniques add significant utility to your applications when used appropriately. Finally, Part 5 concludes the book by discussing advanced MFC classes for database connectivity, OLE features, and so on.

Available Documentation

The Visual C++ CD-ROM contains over 100 megabytes of on-line documentation covering various aspects of Windows, MFC, and the tools available in Visual C++. It contains many more megabytes of sample code. The MFC class hierarchy contains hundreds of different classes holding thousands of member functions. The Win32 API contains thousands of functions as well. All of this material is documented in on-line help files. Obviously, there is no lack of documentation with this product.

This book, therefore, makes no attempt to replace the documentation. Its goal is to help you wind your way through the Visual C++ forest and find what you need. Using the base you gain from reading this book, you will be able to approach Visual C++ and begin using it in productive ways very quickly.

There are currently seven different types of documentation provided by Microsoft for Visual C++ and MFC:

On-line Books P A series of manuals on the CD-ROM that act as the documentation for the system. The collection of books is available from the Contents section of the Help menu. Look at the titles of all the different books and articles available. You will find that there are many. The books cover Visual Studio, the tools within Visual Studio like the compiler, debugger, etc., the many function libraries available, etc

Sample Code P The Visual C++ directory on your hard disk may contain a sample directory that contains source code demonstrating a wide variety of techniques. Some of the samples are written in C, while other samples use MFC and C++.

Developer Network CD P MicrosoftUs DeveloperUs Network CD provides quite a bit of additional sample code, along with books and files containing a variety of valuable information. You receive this CD when you become a member of the Microsoft DeveloperUs Network.

MicrosoftUs Web Site - the Microsoft Web site contains knowledge bases and articles that may be helpful.

Internet News Groups - Numerous newsgroups and mailing lists on the Internet bring C++/MFC developers together to share tips and techniques. There are also other web sites available full of sample code and tips.

Using all of these different forms of documentation, you can find anything you need to know. The key is understanding where and how to look for what you need. This book will help accelerate that process tremendously.

Road Map

The tools in Visual C++ require a great deal of prior knowledge if you want to use them effectively. For example, when you open the Visual C++ package and load the CD, you may have the impression that you can use the AppWizard to generate any program you like. Unfortunately, the code that the AppWizard generates is virtually worthless unless you know a good bit about MFC already. That is why this book is structured the way it is. The progression presented in this book is exactly the progression you will need to follow if you do not already know MFC. However, different people come into Visual C

From the Back Cover

The #1 MFC guide for every Windows programmer!
Practical techniques for industrial-strength code.
Incorporate today's latest, hottest user interface features.
Fully updated for Windows 98 and NT4 - with regular Web updates!
Code and searchable book on CD-ROM!
The #1 MFC guide, now updated for Windows 98, NT4, and the latest Visual C++!
Developing Professional Applications for Windows 98 and NT Using MFC is a huge, single-volume storehouse of practical information for Visual C++ and MFC developers at every skill level. Year after year, it's a best-seller, because no other book offers as much practical guidance and industrial-strength code. Now there's a new edition, fully updated to reflect Windows 98 and NT 4. Better yet, this book will stay up-to-date, thanks to a companion website that posts new information and sample code whenever Microsoft updates Visual C++!
You'll find precise, comprehensive coverage of everything MFC programmers should know, from the basics to sophisticated database, OLE, and thread support. Discover how to make the most of Microsoft's AppWizard and Class Wizard and learn how to incorporate sophisticated user interface features, such as expanding dialogs and subclassed graphical lists. Build multi-document and multi-view MDI applications; master DDX and DDV; create splash screens; and work with resource editors, canned dialogs, list and edit controls, debugging, utility classes, and much more.
The accompanying CD-ROM includes a complete, searchable copy of the book in Adobe Acrobat format, plus all the book's source code—then, look for updates on the Web whenever Microsoft updates MFC!

Product Details

  • Paperback: 880 pages
  • Publisher: Prentice Hall Ptr; 3rd edition (May 27, 1999)
  • Language: English
  • ISBN-10: 0130851213
  • ISBN-13: 978-0130851215
  • Product Dimensions: 9.2 x 7.1 x 1.7 inches
  • Shipping Weight: 2.8 pounds
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Best Sellers Rank: #4,056,344 in Books (See Top 100 in Books)

 

Customer Reviews

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

8 of 8 people found the following review helpful:
5.0 out of 5 stars Clean, clear, to the point. It saved me time., November 10, 1999
By 
Tec (Detroit, MI) - See all my reviews
This review is from: Developing Professional Applications for Windows 98 and NT Using MFC (Paperback)
Very happy with this book. If you're a multi-platform professional who is looking to learn, Know and deliver product using MFC in the least amount of time, this is the ticket.

Pros:

-Good, "show me" examples. Nothing left out.

-Organizes and enhances, not repeats, the VC++ documentation

-Covers both MFC -AND- Visual Studio's app tools, which are tightly intertwined.

- Covers a lot of 'professional' techniques needed to ship real product, like tweaking stock classes by self-drawing, etc.

Cons:

- Wish it were longer.

- The author constantly spews about how Wonderful MFC is. Every fifth sentence talks about how great, easy, powerful, simple, etc the facet of MFC being discussed is. Either the author's never used another framework before, or he's Bill's love slave. Now that the book's done, send him back over to Sales. Please.

That said, it's still a fine book.

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


2 of 2 people found the following review helpful:
4.0 out of 5 stars Invaluable book, August 19, 2005
This review is from: Developing Professional Applications for Windows 98 and NT Using MFC (Paperback)
This book teaches techniques in MFC programming and begins with a simple "Hello World" program that is written from the ground up and does not use the Visual C++ Appwizard and, consistently, MFC programming is taught, to a certain point in the book, without using the Appwizard generated code thus teaching MFC at a more fundamental level. Moreover, the book teaches how to add flare to you're applications with professional enhancements, one example being how to display an expanding dialog box.

I tend to collect books on Visual C++/MFC programming and I can attest that, in my opinion, this is one of the better ones written. Finally, the last chapter on threads is one of the first chapters on threads that I have read and fully understood - the authors are quite professional. Unfortunately, the year is 2005 and the website for the book appears to be now defunct. Even so, my guess is that the book is still relevant to the field, at the very least a primer to MFC, albeit an earlier version
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
5.0 out of 5 stars Book for people moving from unix/x-windows to MFC, June 27, 2002
By A Customer
This review is from: Developing Professional Applications for Windows 98 and NT Using MFC (Paperback)
This is a exteremly good book. I liked his approach of explaining every thing from
DOS and unix perspective and connecting to Win32 and MFC. I am a dos and x-windows
programmer. I did not got a chance to working in any win32 programming. Now like
most of others forced into the wintel world. This book gives excellent insight of
win32 and MFC. The examples are very good.

Another interesting thing is his approach to the class wizard. I have tried to use
class wizard before reading the book. I hated class wizard. I like to
know the every line in my program. I would prefer to type it myself. This book starts
with the concept of typing the code and slowing moves into class wizard. This books
explains want exactly class wizard does. It made me really comfortable with class wizard.

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



Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
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!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject