资源描述:
《基于MFC的大屏幕数字时钟》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、---大屏幕显示数字时钟设计XX:谭X指导教师:XXX专业:XXXXXXXXX年级:20XX级摘要本设计基于MFC,MFC是微软公司提供的一条类库,是一种应用程序框架,随微软VisualC++开发工具发布,以C++类的形式封装了Windows的API,并且包含一个应用程序框架,以减少应用程序开发人员的工作量。其中包含的类包含大量Windows句柄封装类和很多Windows的内建控件和组件的封装类。MFC:微软基础类(MicrosoftFoundationClasses),同VCL类似,是一种应用程序框架,随微软Visual
2、C++开发工具发布。目前最新版本为10.0,并且发布了中文版。该类库提供一组通用的可重用的类库供开发人员使用,大部分类均从CObject直接或间接派生,只有少部分类例外。MFC应用程序的总体结构通常由开发人员从MFC类派生的几个类和一个CWinApp类对象(应用程序对象)组成。MFC提供了MFCAppWizard自动生成框架。Windows应用程序中,MFC的主包含文件为Afxwin.h。此外MFC的部分类为MFC/ATL通用,可以在Win32应用程序中单独包含并使用这些类。由于它的易用性,初学者常误认为VC++开发必须使
3、用MFC,这种想法是错误的。作为ApplicationFramework,MFC的使用只能提高某些情况下的开发效率,只起到辅助作用,而不能替代整个Win32程序设计。关键字:MFC;大屏显示幕数字时钟;C++。-.可修编.---LargescreendisplaydigitalclockdesignName:ChenTanTutor:JijieBiMajor:ElectronicsandmunicationsEngineeringGrade:2013AbstractThisdesignisbasedontheMFC,MFC
4、isMicrosoftprovidesaclasslibrary,isakindofapplicationframework,alongwiththeMicrosoftVisualc++developmenttools,intheformofc++classencapsulatestheWindowsAPI,andcontainsanapplicationframework,inordertoreducetheworkloadapplicationdevelopers.Handletotheclasscontainsala
5、rgenumberofWindowswhichcontainswrapperclassandmanyWindowsbuilt-incontrolsandponentwrapperclass.MFC:MicrosoftFoundationClasses(MicrosoftFoundationClasses),withtheVCL,isakindofapplicationframework,alongwiththeMicrosoftVisualc++developmenttools.Currentlythelatestvers
6、ionis10.0,andreleasetheChineseversion.Theclasslibraryprovidesasetofgenericreusableclasslibraryfordevelopers,mostoftheclassificationaredirectlyorindirectlyderivedfromCObject,onlyafewexceptions.TheoverallstructureoftheMFCapplicationsusuallyderivedbythedeveloperfromM
7、FCclassseveralclassesandclassaCWinAppobject(theapplicationobject).MFCprovidesaMFCAppWizardframeworkautomaticallygenerated.Windowsapplication,MFCmasterincludefileforAfxwin.H.AlsopartoftheMFCclassforMFC/ATLgeneral,canseparateintheWin32applicationcontainsandusethesec
8、lasses.Becauseofitseaseofuse,oftenmistakenforbeginnersvc++evelopmentmustuseMFC,thisideaiswrong.AsanApplicationFramework,theuseofMFCcanonlyimprovetheeffi