Book: Mfc Black Book
Publisher: Coriolis Group Books
Are you an MFC programmer? Good. There are two types of MFCprogrammers. What kind are you? The first kind are the good programmerswho write programs that conform to the way MFC wants you to do things. Thesecond bunch are wild-eyed anarchists who insist on getting things done theirway. Me, I’m in the second group. If you are in the same boat (or would like tobe) this book is for you.This book won’t teach you MFC—not in the traditional sense. You shouldpick it up with a good understanding of basic MFC programming and a desireto do things differently. This isn’t a Scribble tutorial (although I will reviewsome fundamentals in the first chapter). You will learn how to wring everydrop from your MFC programs. You’ll discover how to use, abuse, andabandon the document/view architecture. If you’ve ever wanted customarchives, you’ll find that, too.Generally, MFC is a good thing. But if you use it for something, youessentially have to buy into everything it provides. You can’t just use the OLEpart (or the print preview part, or splitter windows). When you use MFC, youare agreeing to do things the MFC way.Even inside MFC, you’ll find the same phenomenon. Did you know that youcan use dynamic data exchange (DDX) with any window that child controls?However, Class Wizard only helps you work with certain kinds of windows(like dialog boxes). Because using DDX without Class Wizard is poorlydocumented, this—in effect—limits how you use DDX.