Solved

Books on MFC to understand it, not how just to do stuff.

Posted on 2000-02-16
9
138 Views
Last Modified: 2013-11-25
I've been wanting to learn Visucal C++, but it seems the only kind of books I can get are the kinds that show you step by step how to do something, but never explain why you're doing it or how it all works, just "You want to say Hello? then type MessageBox..."  I want to know where MessageBox comes from? or how do I find more commands or how the whole thing interconnects, you know a full understanding of it so I can really learn it and use it.  Why and how you use the

void CYourDlg::whatthehellisthis
{
    And why the heck you need two :: above;
Or, ok now I want to do something so someone on here says use the class;
WMPAINT or whatever it is, well how the heck do I use that?;

So I'm looking for a book that will help me understand this VC++ stuff.

Thanks

Fred.
0
Comment
Question by:fredmastro
9 Comments
 
LVL 2

Author Comment

by:fredmastro
ID: 2528880
Now that I think about it, I look in these VC++ books I have and they don't talk about header files either, where do they come from. Oh well.
0
 
LVL 5

Accepted Solution

by:
laeuchli earned 10 total points
ID: 2529248
If you really want to understand what is happening in the MFC, you need to do two things. First, you need to buy a book on the WinAPI. Then you need to get a copy of VC++ Pro ed. The pro edition comes with the MFC source code, and if you know the functions it's calling you can understand it. There are also a few books on the MFC intrenals, but they are unnessary.
 
0
 
LVL 3

Expert Comment

by:V_Bapat
ID: 2530016
You are right. Almost all the books available "never explain why you're doing it or how it all works".

But to learn VC++ you need to have your basics right ie you should know C++ and windows programming(although you need not be a master). If you ask questions like "why the heck you need two :: above", then I would suggest you to buy a book on C++ first and understand the basics first. Then you can jump to VC++ which would become very easy for you.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 5

Expert Comment

by:laeuchli
ID: 2530954
Yes if you want to learn to program without first learning the langauge, the Visual Basic group is right over there:-)
0
 
LVL 2

Author Comment

by:fredmastro
ID: 2531158
So I need to learn C++ and then learn WinAPI? What's API? I tried looking up WinAPI books, didn't seem to find much though.
0
 
LVL 5

Expert Comment

by:laeuchli
ID: 2531837
WinAPI is windows programming without MFC. I recommend programing Windows 95 in 21 days.
0
 
LVL 2

Author Comment

by:fredmastro
ID: 2532108
Hmm, so I'm still confused. I thought VC++ was MFC.  I thought programming in VC++ you were making Windows programs and that's not MFC?
0
 
LVL 5

Expert Comment

by:laeuchli
ID: 2532369
MFC is a class that helps you program windows, but is not the windows SDK. It's explained in the book I mentioned.
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2532441
There are lots of books that explain MFC at this level of detail.

My own book is one.

Scot Wingo and George Shepard's book is called "MFC Internals". It explains all sorts of undocumented stuff.

Jeff Prosise's book covers MFC without using the Wizards, and as a result explains lots of things other authors only gloss over.

..B ekiM
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 157
How to convert MFC::CString to UTF8 wchar_t* 10 211
Excel file not created as expected 7 72
SSRS troubles 4 51
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question