⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-c++ mfc.htm

📁 MFC学习笔记 MFC学习笔记 MFC学习笔记
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0066)http://skygray.ee.tokushima-u.ac.jp/~wangfei/research/vc/vc-1.html -->
<HTML><HEAD><TITLE>C/C++ MFC</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="C-C++ MFC.files/3.css" rel=stylesheet>
<STYLE type=text/css>BODY {
	SCROLLBAR-FACE-COLOR: #6a7f9a; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #339966; SCROLLBAR-3DLIGHT-COLOR: #cccccc; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #6a7f9a; SCROLLBAR-DARKSHADOW-COLOR: #000000
}
</STYLE>

<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY background="C-C++ MFC.files/background26.gif">
<TABLE height=161 cellSpacing=1 cellPadding=1 width=758 align=center 
bgColor=#000000 border=0>
  <TBODY>
  <TR background="../../images/bg_bar.gif">
    <TD colSpan=2 height=24><FONT color=#000000><STRONG>深入浅出MFC<FONT size=4><A 
      name=VC1></A></FONT></STRONG></FONT></TD></TR>
  <TR>
    <TD width="22%" bgColor=#ffffff height=138>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" 
      align=justify><STRONG></STRONG></P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=center>&nbsp;</P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=center><IMG height=85 
      src="C-C++ MFC.files/acrobat.gif" width=120></P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=center>&nbsp;</P></TD>
    <TD width="78%" bgColor=#ffffff><STRONG><FONT color=#000000><A 
      href="http://skygray.ee.tokushima-u.ac.jp/~wangfei/research/vc/dissecting%20MFC%202e%20part1.pdf">第一篇 
      </A></FONT></STRONG><FONT color=#000000><A 
      href="http://skygray.ee.tokushima-u.ac.jp/~wangfei/research/vc/dissecting%20MFC%202e%20part1.pdf"><STRONG>勿在浮沙筑高台</STRONG></A></FONT> 

      <P><STRONG><FONT color=#000000><A 
      href="http://skygray.ee.tokushima-u.ac.jp/~wangfei/research/vc/dissecting%20MFC%202e%20part2.pdf">第二篇 
      欲善工事先利其器</A></FONT></STRONG></P>
      <P><STRONG><FONT color=#000000><A 
      href="http://skygray.ee.tokushima-u.ac.jp/~wangfei/research/vc/dissecting%20MFC%202e%20part3.pdf">第三篇 
      浅出MFC程式设计</A></FONT></STRONG></P>
      <P><STRONG><A 
      href="http://skygray.ee.tokushima-u.ac.jp/~wangfei/research/vc/dissecting%20MFC%202e%20part4.pdf">第四篇 
      深入MFC程式设计</A></STRONG></P>
      <P><STRONG><A 
      href="http://skygray.ee.tokushima-u.ac.jp/~wangfei/research/vc/dissecting%20MFC%202e%20part5.pdf"><FONT 
      color=#000000>第五篇 附录</FONT></A></STRONG></P></TD></TR></TBODY></TABLE><BR>
<TABLE height=1816 cellSpacing=1 cellPadding=1 width=758 align=center 
bgColor=#000000 border=0>
  <TBODY>
  <TR bgColor=#5f7189>
    <TD background="C-C++ MFC.files/bg_title3.gif" bgColor=#ffffff 
      height=20><FONT color=#000000><STRONG>《深入浅出MFC》学习笔记之一 
      </STRONG></FONT><FONT color=#000000 size=4><STRONG><A 
      name=VC2></A></STRONG></FONT><FONT 
      color=#000000>(文章来源:龚建伟老师的技术主页http://www.gjwtech.com)</FONT></TD></TR>
  <TR bgColor=#5f7189>
    <TD width="22%" bgColor=#ffffff height=1793>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify><STRONG><FONT 
      color=#000000 size=4>&nbsp;</FONT><FONT 
      color=#000000>&nbsp;</FONT></STRONG><FONT 
      color=#000000>龚建伟评:这篇学习笔记虽然不是系统的阐述某个问题,但读来让人感到收获不小,无论你是老鸟还是菜鸟,都会认同的。我希望XGM能够继续写下去,看了《深入浅出MFC》再来看这些笔记,也有温故知新之感<SPAN 
      style="FONT-FAMILY: 宋体">。</SPAN></FONT></P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify><SPAN 
      style="FONT-FAMILY: 宋体"><FONT 
      color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><FONT 
      color=#000000><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">俟杰先生的《深入浅出</SPAN><SPAN 
      lang=EN-US>MFC</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">》是一本好书,本人是作为有一定</SPAN><SPAN 
      lang=EN-US>C++</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">基础知识并对</SPAN><SPAN 
      lang=EN-US>VC</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">有一点感性认识的</SPAN><SPAN 
      lang=EN-US>VC</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">初学者来接触这本书的。应该说这本书并不真正适合像我这样的初学者,但通读完该书,还是有一些收获的,现只整理其中的一部分,作为我的一个学习笔记吧。</SPAN></FONT></P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify>&nbsp;</P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify><FONT 
      color=#000000><SPAN lang=EN-US>1.<SPAN 
      style="FONT: 7pt 'Times New Roman'">&nbsp;</SPAN></SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">安装</SPAN><SPAN 
      lang=EN-US>VC++</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,为什么要先安装</SPAN><SPAN 
      lang=EN-US>Internet Explorer</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?(是不是很多老鸟也不知道啊,侯俊杰先生的宗旨就是知其然,还要知其所以然</SPAN><SPAN 
      lang=EN-US> 555555, …………</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">)因为微软的所有</SPAN><SPAN 
      lang=EN-US>Visual Tools(</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">包括</SPAN><SPAN 
      lang=EN-US>Visual C++</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN 
      lang=EN-US>Visual Basic</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN 
      lang=EN-US>Visual FoxPro</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN 
      lang=EN-US>Visual J++</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN 
      lang=EN-US>Visual InterDev</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等</SPAN><SPAN 
      lang=EN-US>)</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">都集中由所谓的</SPAN><SPAN 
      lang=EN-US>Visual Studio </SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">管理,而这些工具有一个极大的目标,就是要协助开发</SPAN><SPAN 
      lang=EN-US>Internet</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">应用软件,所以它们希望能够和</SPAN><SPAN 
      lang=EN-US>IE</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">有所搭配。</SPAN></FONT></P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify>&nbsp;</P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify><FONT 
      color=#000000><SPAN lang=EN-US>2.<SPAN 
      style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN>SDK</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">:</SPAN><SPAN 
      lang=EN-US>Software Development Kit </SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">原指软件开发工具,但现在已经变成了一个专有名词,凡以</SPAN><SPAN 
      lang=EN-US>Windows raw API</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">撰写的程序通常也称为</SPAN><SPAN 
      lang=EN-US>SDK</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">程序。也有人把</SPAN><SPAN 
      lang=EN-US>Windows API</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">称为</SPAN><SPAN 
      lang=EN-US>SDK API</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</SPAN></FONT></P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify>&nbsp;</P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify><FONT 
      color=#000000><SPAN lang=EN-US>3.<SPAN 
      style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">不同种类之对象的构造函数(对象诞生后第一个执行并且是自动执行的函数)及析构函数(对象行将毁灭,但未毁灭之前一刻,最后执行并且自动执行的函数)执行时机对比如下:</SPAN></FONT></P>
      <P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify>&nbsp;</P>
      <DIV style="MARGIN-BOTTOM: 1px" align=justify>
      <TABLE 
      style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN-LEFT: 39pt; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt" 
      borderColor=#0000ff cellSpacing=0 cellPadding=3 align=center border=1>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -