亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ape.htm

?? Learning language of Visual C++6
?? HTM
?? 第 1 頁 / 共 3 頁
字號:
		<TD ALIGN="LEFT">VERIFY</TD>
		<TD ALIGN="LEFT">Like ASSERT, but VERIFY evaluates the ASSERT expression in both the debug and release
			versions of MFC. If the assertion fails, a message is printed and the program is
			halted only in the debug version.</TD>
	</TR>
</TABLE>

<H2><A NAME="Heading7"></A>Exception Processing</H2>
<P><I>Exceptions</I> give a program greater control over how errors are handled (see
Chapter 26). Before exceptions were part of the language, MFC developers used macros
to achieve the same results. Now that exceptions are firmly established in Visual
C++, a number of functions make it easier to throw exceptions of various types. These
macros and functions are listed in Table E.7.</P>
<P>
<H4>Table E.7&#160;&#160;Exception Macros and Functions</H4>
<P>
<TABLE BORDER="1">
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT"><B>Symbol</B></TD>
		<TD ALIGN="LEFT"><B>Description</B></TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxAbort()</TD>
		<TD ALIGN="LEFT">Terminates an application upon a fatal error</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowArchiveException()</TD>
		<TD ALIGN="LEFT">Throws an archive exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowDAOException()</TD>
		<TD ALIGN="LEFT">Throws a CDAOException</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowDBException()</TD>
		<TD ALIGN="LEFT">Throws a CDBException</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowFileException()</TD>
		<TD ALIGN="LEFT">Throws a file exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowMemoryException()</TD>
		<TD ALIGN="LEFT">Throws a memory exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowNotSupportedException()</TD>
		<TD ALIGN="LEFT">Throws a not-supported exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowOleDispatchException()</TD>
		<TD ALIGN="LEFT">Throws an OLE automation exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowOleException()</TD>
		<TD ALIGN="LEFT">Throws an OLE exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowResourceException()</TD>
		<TD ALIGN="LEFT">Throws a resource-not-found exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AfxThrowUserException()</TD>
		<TD ALIGN="LEFT">Throws an end user exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AND_CATCH</TD>
		<TD ALIGN="LEFT">Begins code that will catch specified exceptions not caught in the preceding TRY
			block</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">AND_CATCH_ALL</TD>
		<TD ALIGN="LEFT">Begins code that will catch all exceptions not caught in the preceding TRY block</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">CATCH</TD>
		<TD ALIGN="LEFT">Begins code for catching an exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">CATCH_ALL</TD>
		<TD ALIGN="LEFT">Begins code for catching all exceptions</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">END_CATCH</TD>
		<TD ALIGN="LEFT">Ends CATCH or AND_CATCH code blocks</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">END_CATCH_ALL</TD>
		<TD ALIGN="LEFT">Ends CATCH_ALL code blocks</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">THROW</TD>
		<TD ALIGN="LEFT">Throws a given exception</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">THROW_LAST</TD>
		<TD ALIGN="LEFT">Throws the most recent exception to the next handler</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">TRY</TD>
		<TD ALIGN="LEFT">Starts code that will accommodate exception handling</TD>
	</TR>
</TABLE>

<H2><A NAME="Heading8"></A>Message-Map Macros</H2>
<P>Windows is an event-driven operating system, which means that every Windows application
must handle a flood of messages that flow between an application and the system.
MFC does away with the clunky switch statements that early Windows programmers had
to construct to handle messages and replaces those statements with a message map.
A <I>message map</I> is nothing more than a table that matches a message with its
message handler (see Chapter 3, &quot;Messages and Commands&quot;). To simplify the
declaration and definition of these tables, Visual C++ defines a set of message-map
macros. Many of these macros, which are listed in Table E.8, will already be familiar
to experienced MFC programmers.</P>
<P>
<H4>Table E.8&#160;&#160;Message-Map Macros</H4>
<P>
<TABLE BORDER="1">
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT"><B>Macro</B></TD>
		<TD ALIGN="LEFT"><B>Description</B></TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">BEGIN_MESSAGE_MAP</TD>
		<TD ALIGN="LEFT">Begins a message-map definition</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">DECLARE_MESSAGE_MAP</TD>
		<TD ALIGN="LEFT">Starts a message-map declaration</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">END_MESSAGE_MAP</TD>
		<TD ALIGN="LEFT">Ends a message-map definition</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">ON_COMMAND</TD>
		<TD ALIGN="LEFT">Begins a command-message message-map entry</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">ON_COMMAND_RANGE</TD>
		<TD ALIGN="LEFT">Begins a command-message message-map entry that maps multiple messages to a single
			handler</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">ON_CONTROL</TD>
		<TD ALIGN="LEFT">Begins a control-notification message-map entry</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">ON_CONTROL_RANGE</TD>
		<TD ALIGN="LEFT">Begins a control-notification message-map entry that maps multiple control IDs to
			a single handler</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">ON_MESSAGE</TD>
		<TD ALIGN="LEFT">Begins a user-message message-map entry</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">ON_REGISTERED_MESSAGE</TD>
		<TD ALIGN="LEFT">Begins a registered user-message message-map entry</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">ON_UPDATE_COMMAND_UI</TD>
		<TD ALIGN="LEFT">Begins a command-update message-map entry</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">ON_UPDATE_COMMAND_UI_RANGE</TD>
		<TD ALIGN="LEFT">Begins a command-update message-map entry that maps multiple command-update messages
			to a single handler</TD>
	</TR>
</TABLE>

<H2><A NAME="Heading9"></A>Runtime Object Model Services</H2>
<P>Frequently in your programs, you need access to information about classes at runtime.
MFC supplies a macro for obtaining this type of information in a CRuntimeClass structure.
In addition, the MFC application framework relies on a set of macros to declare and
define runtime abilities (such as object serialization and dynamic object creation).
If you've used AppWizard at all, you've seen these macros in the generated source-code
files. If you're an advanced MFC programmer, you might have even used these macros
yourself. Table E.9 lists the runtime macros and their descriptions.</P>
<P>
<H4>Table E.9&#160;&#160;Runtime Services Macros</H4>
<P>
<TABLE BORDER="1">
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT"><B>Macro</B></TD>
		<TD ALIGN="LEFT"><B>File</B></TD>
		<TD ALIGN="LEFT"><B>Description</B></TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">DECLARE_DYNAMIC</TD>
		<TD ALIGN="LEFT">Class declaration(.h)</TD>
		<TD ALIGN="LEFT">Enables runtime class information access</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">DECLARE_DYNCREATE</TD>
		<TD ALIGN="LEFT">Class declaration(.h)</TD>
		<TD ALIGN="LEFT">Enables the class (derived from CObject) to be created dynamically and also enables
			runtime class information access</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">DECLARE_OLECREATE</TD>
		<TD ALIGN="LEFT">Class declaration (.h)</TD>
		<TD ALIGN="LEFT">Enables object creation with OLE automation</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">DECLARE_SERIAL</TD>
		<TD ALIGN="LEFT">Class declaration (.h)</TD>
		<TD ALIGN="LEFT">Enables object serialization, as well as runtime class information access</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">IMPLEMENT_DYNAMIC</TD>
		<TD ALIGN="LEFT">Class implementation (.cpp)</TD>
		<TD ALIGN="LEFT">Enables runtime class information access</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">IMPLEMENT_DYNCREATE</TD>
		<TD ALIGN="LEFT">Class implementation (.cpp)</TD>
		<TD ALIGN="LEFT">Enables dynamic creation of the object and runtime information access</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">IMPLEMENT_OLECREATE</TD>
		<TD ALIGN="LEFT">Class implementation (.cpp)</TD>
		<TD ALIGN="LEFT">Enables object creation with OLE</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">IMPLEMENT_SERIAL</TD>
		<TD ALIGN="LEFT">Class implementation (.cpp)</TD>
		<TD ALIGN="LEFT">Enables object serialization and runtime class information access</TD>
	</TR>
	<TR ALIGN="LEFT" VALIGN="TOP">
		<TD ALIGN="LEFT">RUNTIME_CLASS</TD>
		<TD ALIGN="LEFT"></TD>
		<TD ALIGN="LEFT">Returns a CRuntimeClass structure for the given class</TD>
	</TR>
</TABLE>

<H2><A NAME="Heading10"></A>Standard Command and Window IDs</H2>
<P>A Windows application user can generate myriad standard messages. For example,
whenever the user selects a menu command from a standard menu like File or Edit,
the program sends a message. Each standard command is represented by an ID. To relieve
the programmer of having to define the dozens of IDs often used in a Windows application,
Visual C++ defines these symbols in a file called AFXRES.H. Some of these IDs have
obvious purposes (for example, ID_FILE_OPEN), but many others are used internally
by MFC for everything from mapping standard Windows messages to their handlers, to
defining string-table IDs, to assigning IDs to toolbar and status bar styles.</P>
<P>There are far too many of these identifiers to list here. However, if you're interested
in seeing them, just open the AFXRES.H file from your Visual C++ installation folder.</P>
<H1></H1>
<CENTER>
<P>
<HR>
<A HREF="../apd/apd.htm"><IMG SRC="../button/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../apf/apf.htm"><IMG
SRC="../button/next.gif" WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" ALT="Next chapter"
BORDER="0"></A><A HREF="../index.htm"><IMG SRC="../button/contents.gif" WIDTH="128"
HEIGHT="28" ALIGN="BOTTOM" ALT="Contents" BORDER="0"></A> <BR>
</P>

<P>&#169; <A HREF="../copy.htm">Copyright</A>, Macmillan Computer Publishing. All
rights reserved.
</CENTER>


</BODY>

</HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区不卡老阿姨| k8久久久一区二区三区 | 91黄色免费看| 国产经典欧美精品| 91免费国产视频网站| 欧美日韩国产高清一区二区 | 99久久国产综合色|国产精品| 91久久精品国产91性色tv| 欧美精品乱码久久久久久按摩| 日韩亚洲欧美综合| 成人免费小视频| 五月综合激情婷婷六月色窝| 国产精品99久久久久久似苏梦涵 | 欧美日韩国产不卡| 久久久午夜精品| 亚洲成人在线观看视频| 激情综合色综合久久| 色先锋aa成人| 欧美一二三四区在线| 亚洲色图另类专区| 国产主播一区二区三区| 一本到一区二区三区| 26uuu亚洲综合色欧美| 亚洲综合男人的天堂| 成人激情小说乱人伦| 91精品国产高清一区二区三区蜜臀 | 国产一区二区91| 欧美日本韩国一区二区三区视频| 日本一区二区不卡视频| 蜜桃av一区二区三区电影| 色婷婷国产精品综合在线观看| 亚洲精品一区二区三区蜜桃下载 | 国产成人免费视频网站| 在线成人av影院| 一区二区三区日韩精品视频| 丁香六月综合激情| 欧美丰满高潮xxxx喷水动漫| 夜色激情一区二区| 成人国产精品免费网站| 欧美精品一区二区三区蜜桃视频| 午夜欧美视频在线观看| 色婷婷久久久综合中文字幕| 中文字幕不卡三区| 国产成人超碰人人澡人人澡| 欧美丰满美乳xxx高潮www| 国产精品久久777777| 美女久久久精品| 欧美一区二区三区性视频| 丝袜诱惑亚洲看片| 欧美日韩不卡一区二区| 亚洲图片欧美色图| 在线免费观看日本一区| 亚洲精品国产高清久久伦理二区| 精品一区二区免费视频| 精品久久五月天| 国精产品一区一区三区mba桃花 | 久久er99精品| 日韩精品一区二区三区在线观看 | 日本电影亚洲天堂一区| 亚洲免费在线观看| 欧洲亚洲精品在线| 亚洲丶国产丶欧美一区二区三区| 欧美中文一区二区三区| 日日欢夜夜爽一区| 欧美xfplay| 美国十次综合导航| 精品国产乱码久久久久久老虎| 国产一区二区美女| 国产精品每日更新| 色综合视频一区二区三区高清| 亚洲乱码日产精品bd| av在线一区二区| 亚洲一区二区欧美日韩| 日韩视频一区二区三区| 久久精品国产一区二区三 | 欧美福利一区二区| 激情综合一区二区三区| 26uuu亚洲综合色| 91香蕉视频mp4| 日韩有码一区二区三区| 久久精品欧美一区二区三区麻豆| 成人爱爱电影网址| 一区2区3区在线看| 欧美一区二区免费| 国产91在线观看| 亚洲第一狼人社区| 欧美大度的电影原声| 国产成人精品影视| 亚洲第四色夜色| 久久毛片高清国产| 99久久99久久综合| 久久91精品国产91久久小草| 久久久www成人免费毛片麻豆| 成人av免费观看| 免费看日韩a级影片| 专区另类欧美日韩| 亚洲精品在线观看视频| 欧美体内she精视频| 国产不卡视频在线播放| 无码av中文一区二区三区桃花岛| 国产亚洲欧洲一区高清在线观看| 欧美性大战久久| 久久国产尿小便嘘嘘尿| 亚洲精品欧美综合四区| 久久久99久久| 欧美伦理视频网站| jizzjizzjizz欧美| 久久精品72免费观看| 亚洲国产成人porn| 中文字幕在线播放不卡一区| 欧美乱妇23p| 色综合久久久久| 成人亚洲一区二区一| 亚洲最大的成人av| 欧美精品一区二区久久久| 欧美日韩亚洲综合在线| 白白色亚洲国产精品| 极品少妇一区二区| 久久精工是国产品牌吗| 午夜视频一区二区| 亚洲国产精品精华液网站| 亚洲欧美区自拍先锋| 日本一区二区综合亚洲| 日韩精品一区二区三区中文精品| 7777精品伊人久久久大香线蕉的 | 国产suv精品一区二区883| 青青草一区二区三区| 香蕉影视欧美成人| 亚洲精品成人少妇| 亚洲欧美综合另类在线卡通| 久久免费视频一区| 久久免费看少妇高潮| 精品免费视频一区二区| 亚洲精品一区二区三区99| 日韩一区二区三区免费观看| 欧美日韩精品一区二区天天拍小说| 色综合久久中文字幕综合网| 一本久道久久综合中文字幕| 欧美在线观看一二区| 色一情一乱一乱一91av| 欧美伦理影视网| 久久久av毛片精品| 中文字幕一区二区三区av| 亚洲一区二区综合| 精品一区二区三区视频在线观看| 国产成人av一区| 欧美三级视频在线| 2欧美一区二区三区在线观看视频| 中文字幕第一区二区| 亚洲国产日韩一区二区| 久久av资源网| 一本大道综合伊人精品热热| 欧美美女一区二区三区| 国产女人aaa级久久久级| 亚洲一区二区在线播放相泽| 精品一区二区久久| 色综合久久88色综合天天免费| 欧美精选在线播放| 国产视频一区二区三区在线观看| 亚洲免费在线视频| 精彩视频一区二区三区| 欧美三区在线观看| 中文字幕第一区综合| 日韩av电影免费观看高清完整版 | 视频一区中文字幕| 福利一区二区在线观看| 91精品国产一区二区三区| 欧美激情中文不卡| 麻豆国产精品官网| 在线视频国内自拍亚洲视频| 国产无人区一区二区三区| 亚洲成人动漫一区| av午夜一区麻豆| 2020国产成人综合网| 午夜电影久久久| 色香蕉成人二区免费| 国产日韩精品一区二区三区| 欧美bbbbb| 欧美网站一区二区| 亚洲欧洲在线观看av| 精品一区二区三区在线播放| 欧美日本乱大交xxxxx| 亚洲激情第一区| 成人app网站| 国产人妖乱国产精品人妖| 麻豆国产91在线播放| 7799精品视频| 亚洲午夜久久久久久久久电影院 | 欧美优质美女网站| 亚洲啪啪综合av一区二区三区| 国产精品69毛片高清亚洲| 精品99一区二区| 久久精品国产一区二区三 | 色狠狠色狠狠综合| 亚洲人成亚洲人成在线观看图片 | 亚洲男女毛片无遮挡| 91美女片黄在线观看91美女| **欧美大码日韩| 成人av片在线观看| 综合婷婷亚洲小说|