?? c-c++ mfc.htm
字號(hào):
<!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> </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> </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>勿在浮沙筑高臺(tái)</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程式設(shè)計(jì)</A></FONT></STRONG></P>
<P><STRONG><A
href="http://skygray.ee.tokushima-u.ac.jp/~wangfei/research/vc/dissecting%20MFC%202e%20part4.pdf">第四篇
深入MFC程式設(shè)計(jì)</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》學(xué)習(xí)筆記之一
</STRONG></FONT><FONT color=#000000 size=4><STRONG><A
name=VC2></A></STRONG></FONT><FONT
color=#000000>(文章來源:龔建偉老師的技術(shù)主頁(yè)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> </FONT><FONT
color=#000000> </FONT></STRONG><FONT
color=#000000>龔建偉評(píng):這篇學(xué)習(xí)筆記雖然不是系統(tǒng)的闡述某個(gè)問題,但讀來讓人感到收獲不小,無論你是老鳥還是菜鳥,都會(huì)認(rèn)同的。我希望XGM能夠繼續(xù)寫下去,看了《深入淺出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> </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'">基礎(chǔ)知識(shí)并對(duì)</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'">有一點(diǎn)感性認(rèn)識(shí)的</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'">初學(xué)者來接觸這本書的。應(yīng)該說這本書并不真正適合像我這樣的初學(xué)者,但通讀完該書,還是有一些收獲的,現(xiàn)只整理其中的一部分,作為我的一個(gè)學(xué)習(xí)筆記吧。</SPAN></FONT></P>
<P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify> </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'"> </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'">)因?yàn)槲④浀乃?lt;/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'">管理,而這些工具有一個(gè)極大的目標(biāo),就是要協(xié)助開發(fā)</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'">應(yīng)用軟件,所以它們希望能夠和</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> </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'"> </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'">原指軟件開發(fā)工具,但現(xiàn)在已經(jīng)變成了一個(gè)專有名詞,凡以</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> </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'"> </SPAN></SPAN><SPAN
style="FONT-FAMILY: 宋體; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">不同種類之對(duì)象的構(gòu)造函數(shù)(對(duì)象誕生后第一個(gè)執(zhí)行并且是自動(dòng)執(zhí)行的函數(shù))及析構(gòu)函數(shù)(對(duì)象行將毀滅,但未毀滅之前一刻,最后執(zhí)行并且自動(dòng)執(zhí)行的函數(shù))執(zhí)行時(shí)機(jī)對(duì)比如下:</SPAN></FONT></P>
<P style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align=justify> </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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -