I have read the previous 9 chapters of Programming Windows with mfc two times,but I find I don't know how to finish a program by myself,I don't know how to select appropriate function,How can I master MFC?
Can you give me some advices? Thank you very much.
If you want to "master" MFC, that's gonna take you forever, so be ready for lots of reading and practice.
Many of us learned the regular Win32 API before learning MFC. If you have the time, I'd recommend doing that. Once you're familiar with it you'll have a much easier time understanding why MFC works the way it does, because MFC is mostly just a wrapper around the API.
Keep reading books as well. If one is confusing you, try another. Trust me, when I was starting out, I went through several. I would also recommend the MFC tutorials over at functionx.com, which are sometimes a little more straight-forward than other sources because they deal with topics one-at-a-time.
I recommend you to forget MFC and try to use another better engine. I recommend you to use wxWidgets [www.wxwidgets.org] (with wxFormBuilder). But you can try others, like Qt ou GTK (or GTKmm)...
See if you can track down a copy of: Programming Windows with MFC
by Jeff Prosise
It's a good starting point for MFC.
Microsoft do not seem to be promoting 'native' programming of any sort these days so getting up to date info is a matter of wading through MSDN. There was a book scheduled for released a year or so ago that got canned.