搜索下载安装MSDN98
mk:@MSITStore:C:\MSDN98\98VS\2052\vcsample.chm::/html/_core_alphabetical_list_of_mfc_samples.htm
Alphabetical List of MFC Samples
Sample Illustrations
ACDUAL Demonstrates how to add dual interface support to an MFC-based Automation server.
AUTOCLIK Tutorial example illustrating Automation features in Visual C++ Tutorials.
AUTODRIV A simple Automation client application that drives the AUTOCLIK tutorial sample application.
BINDENRL Databound controls in a dialog-based application with property pages.
BINDSCRB Illustration of the use of new COM interfaces to components currently supported by the Microsoft Office suite of products.
CALCDRIV Automation client.
CATALOG Illustration of direct calls to ODBC functions in general, and the ODBC functions SQLTables and SQLColumns in particular.
CATALOG2 Illustration of direct calls to ODBC functions in general using Windows Common Controls.
CHATSRVR Discussion server application for CHATTER.
CHATTER Client application that uses Windows Sockets.
CHKBOOK Record-based (nonserialized) document.
CIRC Tutorial sample that teaches you how to create a simple ActiveX control called Circle.
CMNCTRL1 Demonstrates how to create and change the styles of Windows Common Controls using MFC classes (Part 1).
CMNCTRL2 Demonstrates how to create and change the styles of Windows Common Controls using MFC classes (Part 2).
COLLECT MFC C++ template-based collection classes, and standard prebuilt collection classes.
CONTAINER Tutorial example illustrating ActiveX Visual Editing container features in Visual C++ Tutorials.
COUNTER Using an ISAPI DLL to send image data (rather than HTML data) back to a Web browser.
CTRLBARS Custom toolbar and status bar, dialog bar, and floating palette.
CTRLTEST Owner-draw list box and menu, custom control, bitmap button, spin control.
CUBE OpenGL application using MFC device contexts along with OpenGL's resource contexts.
DAOCTL DAO database class functionality and ActiveX controls let you examine a database.
DAOENROL Based on ENROLL, but migrated to the DAO database classes. Also serves as Step 4 of the DaoEnrol tutorial.
DAOTABLE Creates a Microsoft Access database (.mdb file) and its tables, fields, queries, and indexes using MFC DAO database classes.
DAOVIEW DAO database classes and Windows Common Controls let you view the schema of a database.
DBFETCH Demonstrates the use of bulk row fetching in the ODBC database classes.
DBVList Demonstrates the virtual list view functionality available for the list view common control.
DIBLOOK Device-independent bitmap and color palette.
DLGCBR32 Adding a toolbar and a status bar to a dialog-based application.
DLGTEMPL Shows how to create dialog templates dynamically.
DLLHUSK Sharing the DLL version of the Foundation class library with an application and custom DLL.
DLLTRACE Statically linking the MFC library to a custom DLL.
DOCKTOOL Dragging and floating toolbars that are "dockable".
DRAWCLI Full-featured object-oriented drawing application that is also an ActiveX Visual Editing container.
DRAWPIC Getting a Windows handle to a bitmap or icon from an LPPICTUREDISP.
DYNABIND Dynamic binding of database columns to a recordset.
DYNAMENU Dynamically modifying list of items in menus; handling commands not known at compile time; and updating the status bar command prompt for such commands.
ENROLL Tutorial example illustrating database features in Visual C++ Tutorials.
EXTBIND Shows how to bind data-aware controls across a dialog box boundary.
FIRE Dialog-based application that demonstrates five Windows Common Controls.
FTPTREE Displays the contents of an FTP site in a tree control.
GUIDGEN A dialog-based MFC application used to generate globally unique identifiers, or GUIDs, which identify OLE classes, objects, and interfaces.
HELLO Simple application with frame window but no document or view.
HELLOAPP Minimal "Hello World" application.
HIERSVR ActiveX Visual Editing server application with drag and drop.
HTTPSVR Uses MFC Windows Socket classes to implement an Internet HTTP server.
IMAGE Demonstrates an ActiveX control that is capable of downloading data asynchronously.
INPROC An in-process Automation server that can be loaded as a DLL in the client's address space.
IPDRIVE A simple Automation client application that drives the INPROC sample application.
LISTHDR Demonstrates the List View and Header Common Controls.
MAKEHM Command line utility for associating resources with Help contexts.
MDI MDI application that does not use documents and views.
MDIBIND Demonstrates data binding in CWnd-derived windows, but only at run time.
MDIDOCVW New version of the MDI sample that uses the document/view architecture.
MFCBIND Shows how to create an ActiveX document (formerly known as a DocObject) container using the ActiveX document container support classes.
MFCCALC An Automation server that implements a simple calculator.
MFCIE Uses MFC's CHtmlView and CreBar classes to implement a subset of the functionality provided by Microsoft Internet Explorer.
MFCRows Shows how to useCOleDBRecordView to scroll through a table in a database. Also how to use multiple accessors so you can update an Access table that contains an AutoNumber field to be retrieved.
MFCUCASE Demonstrates MFC support for Internet Server filter DLLs.
MODELESS Demonstrates the use of an MFC CDialog object as a modeless dialog.
MTGDI Multithread illustration, where GDI resources are converted to MFC objects and back.
MTMDI Multithread illustration, where user-interface events are processed in a separate user-interface thread.
MTRECALC Multithread illustration, where recalculations are done in a worker thread.
MULTIPAD Simple MDI text editor using the CeditView class.
MUTEXES Demonstrates the use of the Cmutex class for multithreading.
NPP Editor demonstrating toolbars, status bars, and other controls.
OCLIENT ActiveX Visual Editing container application, with drag and drop.
ODBCINFO Shows how to determine various ODBC driver capabilities at run time.
OLDBARS Provides support for applications that rely on the old implementations of CToolBar and CStatusBar by providing the source code for these classes.
OLEVIEW Implementing an OLE object browser through custom OLE interfaces.
PINBALL An Internet Server Extension DLL that provides graphics and also redirects users to a Web site for further research.
PROPDLG Property sheets (dialogs).
ROWLIST Illustrates full row selection in a list-view common control.
SAVER Screen saver written with MFC.
SCRIBBLE Main tutorial example in Visual C++ Tutorials.
SMILEY Modifying properties, calling methods, and handling events from the SMILE control in the SMILEY container.
SNAPVW Shows how to use property pages in a MDI child frame window.
SPEAKN Multimedia sound using user-defined resources.
StockTicker An MFC and ATL application that retrieves stock quotes from the Web and displays them in an ATL control. The user can set the display's properties, including rate of data refresh.
STDREG Tool for populating the Student Registration database (used by the Enroll database tutorial) in any format supported by an ODBC driver. Illustrates SQL table creation.
SUPERPAD ActiveX Visual Editing server that edits text using CEditView.
TEAR MFC console application that uses the Wininet.dll.
TEMPLDEF Command line tool that expands source files similar to C++ templates.
TSTCON Implements an ActiveX control container using MFC's support for OLE embedding. You can use TSTCON to test ActiveX controls, change their properties, and invoke their methods.
TESTHELP An ActiveX control that has its own help file and tooltips.
TRACER Tool that sets the Foundation class application trace flags kept in AFX.INI.
TRACKER Illustration of the various CRectTracker styles and options.
VCTERM Simple terminal emulation program illustrating the use of the Mscomm32.ocx ActiveX control.
VIEWEX Multiple views, scroll view, splitter windows.
WIZARD97 Demonstrates implementing a wizard that supports background bitmaps and wide header titles and images. This wizard design is supported for Windows 98 and Windows NT 5.0; you must be using Windows 98 or Windows NT 5.0 for this sample to work properly.
WORDPAD Uses MFC's support for rich edit controls to create a basic word processor.
WWWQUOTE Retrieves information from a database and provides it to the user via an HTTP connection to the server.
See Also
Microsoft Foundation Class Library Samples Index
C++学习步骤zz
C++知识分类:
①基础知识(C 语言、标准库、文件、注册表、数据结构)
②高级知识(多线程、串口通讯、网口通讯、动态库、MFC、COM、ATL、ActiveX)
③专业知识(图像处理、多媒体、OpenGL、DirectShow、数据库、网络安全)
C++学习步骤:
第1阶段
先花一个月时间学习基本C语言,然后再看林锐博士的高质量编程,最后才去看C++ prime,the c++ programming language(一般作为参考书,比如调试时发现编译错误,但又觉得莫名其妙时!),看完这些,基本会基于对象编程了!
第2阶段:
尝试实现封装C语言的字符处理函数,做一个字符串! 可以结合Effective C++/More Effective C++/Exceptional C++一起看,这样下来,你对指针操作,异常处理,智能指针会有深入的理解! 这时,你基本上可以用c++工作了!
第3阶段——面向对象的设计 入 门的例子就是结合VC一起学,研究MVC模式,最好提高功力的书就是深入浅出MFC,这本书关键是要看懂前面3章,懂得如何去按MVC模式封装底层的C语 言,实现面向对象机制!同时,还可以看有关STL的书,这方面的好书比较少,入门的书倒是比较多!这个阶段的关键在于理解如何结合语言特性和软件需求来设 计!
第4阶段——编写自己的系统库
一般能进入这一境界的实在太少,这需要你懂太多知识!首先,你要基础理论知识比较扎实,按我的理解,无法独立完成一 个小的核心操作系统和编译器的人 和那种先天数学功底弱的人是没希望了!因为,当你抽象一个外部系统并建立自己的解决方案时,必然有现在还无法解决的问题,这时,你必然会对原有语言进行改 进,更牛的人甚至是设计自己的硬件!呵呵,进入这一境界,才算入世了!这时,语言已融入你的思想,不再是语言控制你,而是你控制语言了!可惜,目前中国还 没听说这号人出现,也许... 学C++和武侠里面的学剑差不多,大多数人只会用来劈材,少数人能够自立门派,为数不多的人能成为大师,至于心剑合一则是百年一遇! 最后,路漫漫其修远兮!
秘籍:
[Lippman2000] Essential C++ Essential C++,by Stanley B. Lippman Addison Wesley Longman 2000,276 pages Essential C++ 中文版 ,侯俊杰 译,282页 [Gregory95] C++:The Core Language C++:The Core Language by Gregory Satir 1995 O'Reilly C++语言核心,张铭泽 译 ,236页 [Deitel98] The Complete C++ Training Course The Complete C++ Training Course 2/e by Harvey M.Deitel 1998 Prentice Hall C++大学教程(第二版),邱仲潘等 译,816页 [Stevens2000] Standard C++ Bible Standard C++ Bible 2000 Al Stevens IDG 标准C++宝典,林丽闽等 译,766页 [Eckel2000] Thinking in C++ Thinking in C++ 2/e Bruce Eckel 2000 1470 pages Prentice Hall C++ 编程思想,刘宗田等 译,420页 [Lippman98] C++Primer C++ Primer,3rd Editoin,by Stanley Lippman and Josee Lajoie Addison Wesley Longman,1998 1237 pages C++ Primer 中文版,侯俊杰 译,1999,1237页 [Struostrup2000] The C++ Programming Language The C++ Programming Language,Special Editoin,by Bjarne Stroustrup Addison Wesley Longman,2000,1017 pages C++程序语言经典本,叶秉哲 译,儒林 1999 [ANSI C++] C++规格书 1998.9.1 PDF格式 ANSI C++ 1996 Draft 层级二:专家经验(C++/OOP) [Meyers96] More Effective C++ More Effective C++,by Scott Meyers,Addison Wesley,1996,318pages More Effective C++中文版,侯俊杰,培生 2000. 318页 [Meyers98] Effective C++ Effective C++,Second Edition,by Scott Meyers,Addison Wesley Longman,1998.256pages Effective C++ 2/e 中文版,侯俊杰,培生 2000.256页 [Sutter99] Exceptional C++ Exceptional C++,by Herb Sutter,Addison Wesley Longman,2000.208pages Exceptional C++中文版,侯俊杰,培生 2000.248页 [Sutter2001]More Exceptional C++ More Exceptiona