visual c++ mfc 简要介绍-------外文翻译.doc
约21页DOC格式手机打开展开
visual c++ mfc 简要介绍-------外文翻译,visual c++ is much more than a compiler. it is a complete application development environment that, when used as intended, lets you fully exploit the object ori...
内容介绍
此文档由会员 wanli1988go 发布
Visual C++ is much more than a compiler. It is a complete application development environment that, when used as intended, lets you fully exploit the object oriented nature of C++ to create professional Windows applications. In order to take advantage of these features, you need to understand the C++ programming language. If you have never used C++, please turn to the C++ tutorials in the C/C++ Tutorials page for an introduction. You must then understand the Microsoft Foundation Class (MFC) hierarchy. This class hierarchy encapsulates the user interface portion of the Windows API, and makes it significantly easier to create Windows applications in an object oriented way. This hierarchy is available for and compatible with all versions of Windows. The code you create in MFC is extremely portable.
These tutorials introduce the fundamental concepts and vocabulary behind MFC and event driven programming. In this tutorial you will enter, compile, and run a simple MFC program using Visual C++. Tutotial 2 provides a detailed explanation of the code used in Tutorial 1. Tutorial 3 discusses MFC controls and their customization. Tutorial 4 covers message maps, which let you handle events in MFC.
What is the Microsoft Foundations Class Library?
Let's say you want to create a Windows application. You might, for example, need to create a specialized text or drawing editor, or a program that finds files on a large hard disk, or an application that lets a user visualize the interrelationships in a big data set. Where do you begin?
Visual C++ ²»½ö½öÊÇÒ»¸ö±àÒëÆ÷¡£ËüÊÇÒ»¸öÈ«ÃæµÄÓ¦ÓóÌÐò¿ª·¢»·¾³£¬Ê¹ÓÃËüÄã³ä·ÖÀûÓþßÓÐÃæÏò¶ÔÏóÌØÐ﵀ C++ À´¿ª·¢³öרҵ¼¶µÄ Windows Ó¦ÓóÌÐò¡£ÎªÁËÄ@@ä·ÖÀûÓÃÕâЩÌØÐÔ£¬Äã±ØÐëÀí½â C++ ³ÌÐòÉè¼ÆÓïÑÔ¡£ÕÆÎÕÁËC++£¬Äã¾Í±ØÐëÕÆÎÕ Microsoft »ù±¾Àà¿â (MFC) µÄ²ã´Î½á¹¹¡£¸Ã²ã´Î ½á¹¹°üÈÝÁË Windows API ÖеÄÓû§½çÃ沿·Ö£¬²¢Ê¹ÄãÄܹ»ºÜÈÝÒ×µØÒÔÃæÏò¶ÔÏóµÄ·½Ê½½¨Á¢ Windows Ó¦ÓóÌÐò¡£ÕâÖÖ²ã´Î½á¹¹ÊÊÓÃÓÚËùÓа汾µÄ Windows ²¢±Ë´Ë¼æÈÝ¡£ÄãÓà MFC Ëù½¨Á¢µÄ´úÂëÊÇÍêÈ«¿ÉÒÆÖ²µÄ¡£
ÕâƪÎÄÕ½«ÏòÄã½éÉÜMFCµÄ»ù±¾¸ÅÄîºÍÊõÓïÒÔ¼°Ê¼þÇý¶¯³ÌÐòÉè¼Æ·½·¨¡£ÔÚ±¾½ÚÖУ¬Ä㽫»áÊäÈë¡¢±àÒëºÍÔËÐÐÒ»¸ö¼òµ¥µÄMFC³ÌÐò¡£ÏÂÒ»½ÚÖн«ÏòÄãÏêϸ½âÊÍÕâЩ´úÂë¡£µÚÈý²¿·ÖÌÖÂÛÁËMFC¿ØÖƺÍÈçºÎ¶¨ÖÆËüÃÇ¡£µÚËIJ¿·Ö½«½éÉÜÏûÏ¢Ó³É䣬Ä㽫»á´¦ÀíMFCµÄʼþ¡£
ʲôÊÇMFC?
These tutorials introduce the fundamental concepts and vocabulary behind MFC and event driven programming. In this tutorial you will enter, compile, and run a simple MFC program using Visual C++. Tutotial 2 provides a detailed explanation of the code used in Tutorial 1. Tutorial 3 discusses MFC controls and their customization. Tutorial 4 covers message maps, which let you handle events in MFC.
What is the Microsoft Foundations Class Library?
Let's say you want to create a Windows application. You might, for example, need to create a specialized text or drawing editor, or a program that finds files on a large hard disk, or an application that lets a user visualize the interrelationships in a big data set. Where do you begin?
Visual C++ ²»½ö½öÊÇÒ»¸ö±àÒëÆ÷¡£ËüÊÇÒ»¸öÈ«ÃæµÄÓ¦ÓóÌÐò¿ª·¢»·¾³£¬Ê¹ÓÃËüÄã³ä·ÖÀûÓþßÓÐÃæÏò¶ÔÏóÌØÐ﵀ C++ À´¿ª·¢³öרҵ¼¶µÄ Windows Ó¦ÓóÌÐò¡£ÎªÁËÄ@@ä·ÖÀûÓÃÕâЩÌØÐÔ£¬Äã±ØÐëÀí½â C++ ³ÌÐòÉè¼ÆÓïÑÔ¡£ÕÆÎÕÁËC++£¬Äã¾Í±ØÐëÕÆÎÕ Microsoft »ù±¾Àà¿â (MFC) µÄ²ã´Î½á¹¹¡£¸Ã²ã´Î ½á¹¹°üÈÝÁË Windows API ÖеÄÓû§½çÃ沿·Ö£¬²¢Ê¹ÄãÄܹ»ºÜÈÝÒ×µØÒÔÃæÏò¶ÔÏóµÄ·½Ê½½¨Á¢ Windows Ó¦ÓóÌÐò¡£ÕâÖÖ²ã´Î½á¹¹ÊÊÓÃÓÚËùÓа汾µÄ Windows ²¢±Ë´Ë¼æÈÝ¡£ÄãÓà MFC Ëù½¨Á¢µÄ´úÂëÊÇÍêÈ«¿ÉÒÆÖ²µÄ¡£
ÕâƪÎÄÕ½«ÏòÄã½éÉÜMFCµÄ»ù±¾¸ÅÄîºÍÊõÓïÒÔ¼°Ê¼þÇý¶¯³ÌÐòÉè¼Æ·½·¨¡£ÔÚ±¾½ÚÖУ¬Ä㽫»áÊäÈë¡¢±àÒëºÍÔËÐÐÒ»¸ö¼òµ¥µÄMFC³ÌÐò¡£ÏÂÒ»½ÚÖн«ÏòÄãÏêϸ½âÊÍÕâЩ´úÂë¡£µÚÈý²¿·ÖÌÖÂÛÁËMFC¿ØÖƺÍÈçºÎ¶¨ÖÆËüÃÇ¡£µÚËIJ¿·Ö½«½éÉÜÏûÏ¢Ó³É䣬Ä㽫»á´¦ÀíMFCµÄʼþ¡£
ʲôÊÇMFC?