It is not necessary to learn the Windows API in order to begin using the Microsoft Foundation Class (MFC) Library of C++ classes; you do not even have to know more than a few basic C++ concepts in order to begin. I have been teaching extension classes through the University of California, Berkeley, since 1993. My students have ranged from expert to beginning Windows programmers. As an MFC teacher, I had to design a system that addressed the “common denominator” in the class, since so many of my students were put onto MFC projects and expected to “ramp up” in a matter of weeks, despite whatever their previous. | HOME ACCÚừhíT I MFC Ô SUBSCFM6E LOtìin SEARCH o ô Ô MY ITKhtOw LE frfiE FAC SITEMAP CONTACT Lts SEARCH fTKttŨWt-EŨữẼ To access the contents click the chapter and section titles. Go Learn the MFC C Classes Publisher Wordware Publishing Inc. Author s Shirley Wodtke Keyword ISBN 1556225121 Publication Date 01 01 97 Brief o Full Advanced ÍG Search Search Tips Search this book LJ BROWSE ẼÝ ỈŨPÌC Introduction Learn the MFC C Classes Acknowledgment Chapter 1 Windows and MFC Windows Operating Systems and MFC C Compilers and MFC Windows User Inputs to a Window Messages MFC and Windows OS Interaction The Structure of an MFC Application Creating a Main Window Using MFC The CFrameWnd Create Function Registering a New Window Class Resource Files Customized Icon and Cursor Resources Summary Exercise Chapter 2 Menus and Message Maps An Example With a Simple Menu Message Maps Menus Accelerators Handler Functions Setting the Timer Displaying a Message Box Adding Message Map Entries With Compiler Tools An Example That Changes Menus and Submenus Using CMenu Objects CWnd Functions for Messages Summary Exercise Chapter 3 Graphics and Text Drawing The Graphics Device Interface GDI The Device Context GDI Objects Device Context Settings Stock Drawing Objects The CDC Class The Device Context Classes An Example That Draws Text and Shapes An Example That Sets the Viewport Origin How a Screen Repaints Itself Creating a Pen Creating a Brush The RGB Macro The Raster Drawing Mode and SetROP2 A Graphics Editor Example C Objects for the Rectangle and Ellipse The Graphics Output Process Deleting Drawing Objects Drawing the Rectangles and Ellipses The OnPaint Function Maintaining the Update Region The Background Color The Handy Utility Classes CRect CPoint and CSize Using a Private Device Context An Example With a Private Device Context Summary Exercise Chapter 4 Fast Drawing and Bitmap Graphics Using Exclusive-or and Exclusive-nor for Fast Redraws Details of the Exclusive-or Exclusive-nor Process