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

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

?? ch01.htm

?? Learning language of Visual C++6
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
<SCRIPT LANGUAGE="JavaScript">

<!--

function popUp(pPage) {
 var fullURL = document.location;
 var textURL = fullURL.toString();
 var URLlen = textURL.length;
 var lenMinusPage = textURL.lastIndexOf("/");
 lenMinusPage += 1;
 var fullPath = textURL.substring(0,lenMinusPage);
 popUpWin = window.open('','popWin','resizable=yes,scrollbars=no,width=525,height=394');
 figDoc= popUpWin.document;
 zhtm= '<HTML><HEAD><TITLE>' + pPage + '</TITLE>';
 zhtm += '<link rel="stylesheet" href="/includes/stylesheets/ebooks.css"></head>';
 zhtm += '<BODY bgcolor="#FFFFFF">';
 zhtm += '<IMG SRC="' + fullPath + pPage + '">';
 zhtm += '<P><B>' + pPage + '</B>';
 zhtm += '</BODY></HTML>';
 window.popUpWin.document.write(zhtm);
 window.popUpWin.document.close();
 // Johnny Jackson 4/28/98
 }

//-->
                                                                
</SCRIPT>
<link rel="stylesheet" href="/includes/stylesheets/ebooks.css">

	
	<TITLE>Special Edition Using Visual C++ 6 -- Ch 1 -- Building Your First Windows Application</TITLE>
</HEAD>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF">

<CENTER>
<H1><IMG SRC="../button/que.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM" BORDER="0"><BR>
Special Edition Using Visual C++ 6</H1>
</CENTER>
<CENTER>
<P><A HREF="../fm/fm.htm"><IMG SRC="../button/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../ch02/ch02.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> 
<HR>

</CENTER>
<CENTER>
<H1>- 1 -</H1>
</CENTER>
<CENTER>
<H1>Building Your First Windows Application</H1>
</CENTER>

<UL>
	<LI><A HREF="#Heading1">Creating a Windows Application</A>
	<UL>
		<LI><A HREF="#Heading2">Deciding How Many Documents the Application Supports</A>
		<LI><A HREF="#Heading3">Databases</A>
		<LI><A HREF="#Heading4">Compound Document Support</A>
		<LI><A HREF="#Heading5">Appearance and Other Options</A>
		<LI><A HREF="#Heading6">Other Options</A>
		<LI><A HREF="#Heading7">Filenames and Classnames</A>
		<LI><A HREF="#Heading8">Creating the Application</A>
		<LI><A HREF="#Heading9">Try It Yourself</A>
	</UL>
	<LI><A HREF="#Heading10">Creating a Dialog-Based Application</A>
	<LI><A HREF="#Heading11">Creating DLLs, Console Applications, and More</A>
	<UL>
		<LI><A HREF="#Heading12">ATL COM AppWizard</A>
		<LI><A HREF="#Heading13">Custom AppWizard</A>
		<LI><A HREF="#Heading14">Database Project</A>
		<LI><A HREF="#Heading15">DevStudio Add-In Wizard</A>
		<LI><A HREF="#Heading16">ISAPI Extension Wizard</A>
		<LI><A HREF="#Heading17">Makefile</A>
		<LI><A HREF="#Heading18">MFC ActiveX ControlWizard</A>
		<LI><A HREF="#Heading19">MFC AppWizard (DLL)</A>
		<LI><A HREF="#Heading20">Win32 Application</A>
		<LI><A HREF="#Heading21">Win32 Console Application</A>
		<LI><A HREF="#Heading22">Win32 Dynamic Link Library</A>
		<LI><A HREF="#Heading23">Win32 Static Library</A>
	</UL>
	<LI><A HREF="#Heading24">Changing Your AppWizard Decisions</A>
	<LI><A HREF="#Heading25">Understanding AppWizard's Code</A>
	<UL>
		<LI><A HREF="#Heading26">A Single Document Interface Application</A>
		<LI><A HREF="#Heading27">Other Files</A>
	</UL>
	<LI><A HREF="#Heading28">Understanding a Multiple Document Interface Application</A>
	<LI><A HREF="#Heading29">Understanding the Components of a Dialog-Based Application</A>
	<LI><A HREF="#Heading30">Reviewing AppWizard Decisions and This Chapter</A>
</UL>

<P>
<HR SIZE="4">

<CENTER>
<H1></H1>
</CENTER>
<H2><A NAME="Heading1"></A>Creating a Windows Application</H2>
<P>Visual C++ doesn't just compile code; it generates code. You can create a Windows
application in minutes with a tool called AppWizard. In this chapter you'll learn
how to tell AppWizard to make you a starter app with all the Windows boilerplate
code you want. AppWizard is a very effective tool. It copies into your application
the code that almost all Windows applications require. After all, you aren't the
first programmer to need an application with resizable edges, minimize and maximize
buttons, a File menu with Open, Close, Print Setup, Print, and Exit options, are
you?</P>
<P>AppWizard can make many kinds of applications, but what most people want, at least
at first, is an executable (.exe) program. Most people also want AppWizard to produce
boilerplate code--the classes, objects, and functions that have to be in every program.
To create a program like this, Choose File, New and click the Projects tab in the
New dialog box, as shown in Figure 1.1.</P>
<P><A HREF="javascript:popUp('01uvc01.gif')"><B>FIG. 1.1</B></A><B> </B><I>The Projects
tab of the New dialog box is where you choose the kind of application you want to
build.</I></P>
<P>Choose MFC AppWizard (EXE) from the list box on the left, fill in a project name,
and click OK. AppWizard will work through a number of steps. At each step, you make
a decision about what kind of application you want and then click Next. At any time,
you can click Back to return to a previous decision, Cancel to abandon the whole
process, Help for more details, or Finish to skip to the end and create the application
without answering any more questions (not recommended before the last step). The
following sections explain each step.</P>


<BLOCKQUOTE>
	<P>
<HR>
<strong>NOTE:</strong> An MFC application uses MFC, the Microsoft Foundation Classes. You
	will learn more about MFC throughout this book.
<HR>


</BLOCKQUOTE>

<H3><A NAME="Heading2"></A>Deciding How Many Documents the Application Supports</H3>
<P>The first decision to communicate to AppWizard, as shown in Figure 1.2, is whether
your application should be MDI, SDI, or dialog based. AppWizard generates different
code and classes for each of these application types.</P>
<P><A HREF="javascript:popUp('01uvc02.gif')"><B>FIG. 1.2</B></A><B> </B><I>The first
step in building a typical application with AppWizard is choosing the interface.</I></P>
<P>The three application types to choose from are as follows:</P>

<UL>
	<LI>A <I>single document interface</I> (SDI) application, such as Notepad, has only
	one document open at a time. When you choose File, Open, the currently open file
	is closed before the new one is opened.
	<P>
	<LI>A <I>multiple document interface</I> (MDI) application, such as Excel or Word,
	can open many documents (typically files) at once. There is a Window menu and a Close
	item on the File menu. It's a quirk of MFC that if you like multiple views on a single
	document, you must build an MDI application.
	<P>
	<LI>A <I>dialog-based</I> application, such as the Character Map utility that comes
	with Windows and is shown in Figure 1.3, does not have a document at all. There are
	no menus. (If you'd like to see Character Map in action, it's usually in the Accessories
	folder, reached by clicking Start. You may need to install it by using Add/Remove
	programs under Control Panel.)
</UL>

<P><A HREF="javascript:popUp('01uvc03.gif')"><B>FIG. 1.3</B></A><B> </B><I>Character
Map is a dialog-based application.</I></P>
<P><I><BR>
</I>As you change the radio button selection, the picture on the left of the screen
changes to demonstrate how the application appears if you choose this type of application.</P>


<BLOCKQUOTE>
	<P>
<HR>
<strong>NOTE::</strong> Dialog-based applications are quite different from MDI or SDI applications.
	The AppWizard dialogs are different when you're creating a dialog-based application.
	They are presented later in the section &quot;Creating a Dialog-Based Application.&quot;&#160;
	
<HR>


</BLOCKQUOTE>

<P>Beneath these choices is a checkbox for you to indicate whether you want support
for the Document/View architecture. This framework for your applications is explained
in Chapter 4, &quot;Documents and Views.&quot; Experienced Visual C++ developers,
especially those who are porting an application from another development system,
might choose to turn off this support. You should leave the option selected.</P>
<P>Lower on the screen is a drop-down box to select the language for your resources.
If you have set your system language to anything other than the default, English[United
States], make sure you set your resources to that language, too. If you don't, you
will encounter unexpected behavior from ClassWizard later. (Of course, if your application
is for users who will have their language set to U.S. English, you might not have
a choice. In that case, change your system language under Control Panel.) Click Next
after you make your choices.</P>
<P>
<H3><A NAME="Heading3"></A>Databases</H3>
<P>The second step in creating an executable Windows program with AppWizard is to
choose the level of database support, as shown in Figure 1.4.</P>
<P><A HREF="javascript:popUp('01uvc04.gif')"><B>FIG. 1.4</B></A><B> </B><I>The second
step to building a typical application with AppWizard is to set the database options
you will use.</I></P>
<P>There are four choices for database support:</P>

<UL>
	<LI>If you aren't writing a database application, choose None.
	<P>
	<LI>If you want to have access to a database but don't want to derive your view from
	CFormView or have a Record menu, choose Header Files Only.
	<P>
	<LI>If you want to derive your view from CFormView and have a Record menu but don't
	need to serialize a document, choose Database View Without File Support. You can
	update database records with CRecordset, an MFC class discussed in more detail in
	Chapter 22, &quot;Database Access.&quot;
	<P>
	<LI>If you want to support databases as in the previous option but also need to save
	a document on disk (perhaps some user options), choose Database View With File Support.
</UL>

<P>Chapter 22 clarifies these choices and demonstrates database programming with
MFC. If you choose to have a database view, you must specify a data source now. Click
the Data Source button to set this up.</P>
<P>As you select different radio buttons, the picture on the left changes to show
you the results of your choice. Click Next to move to the next step.</P>
<P>
<H3><A NAME="Heading4"></A>Compound Document Support</H3>
<P>The third step in running AppWizard to create an executable Windows program is
to decide on the amount of compound document support you want to include, as shown
in Figure 1.5. OLE (object linking and embedding) has been officially renamed ActiveX
to clarify the recent technology shifts, most of which are hidden from you by MFC.
ActiveX and OLE technology are jointly referred to as <I>compound document technology</I>.
Chapter 13, &quot;ActiveX Concepts,&quot; covers this technology in detail.</P>
<P><A HREF="javascript:popUp('01uvc05.gif')"><B>FIG. 1.5</B></A><B> </B><I>The third
step of building a typical application with AppWizard is to set the compound document
support you will need.</I></P>
<P>There are five choices for compound document support:</P>

<UL>
	<LI>If you are not writing an ActiveX application, choose None.
	<P>
	<LI>If you want your application to contain embedded or linked ActiveX objects, such
	as Word documents or Excel worksheets, choose Container. You learn to build an ActiveX
	container in Chapter 14, &quot;Building an ActiveX Container Application.&quot;
	<P>
	<LI>If you want your application to serve objects that can be embedded in other applications,
	but it never needs to run as a standalone application, choose Mini Server.
	<P>
	<LI>If your application serves documents and also functions as a standalone application,
	choose Full Server. In Chapter 15, &quot;Building an ActiveX Server Application,&quot;
	you learn to build an ActiveX full server.
	<P>
	<LI>If you want your application to have the capability to contain objects from other
	applications and also to serve its objects to other applications, choose Both Container
	and Server.
</UL>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本女人一区二区三区| 久久精品噜噜噜成人av农村| 欧美体内she精高潮| 国产精品77777| 麻豆精品视频在线观看免费| 七七婷婷婷婷精品国产| 免费在线看一区| 99久久精品国产麻豆演员表| 国产麻豆精品theporn| 久久超碰97人人做人人爱| 色悠悠久久综合| 欧美少妇bbb| 亚洲欧洲精品一区二区三区 | 国产网红主播福利一区二区| xf在线a精品一区二区视频网站| 日韩免费观看高清完整版在线观看| 精品视频免费看| 欧美欧美欧美欧美首页| 这里只有精品99re| 精品久久久久一区| 中文字幕国产精品一区二区| 国产日韩欧美一区二区三区综合| 国产精品情趣视频| 亚洲综合免费观看高清在线观看 | 精品国产免费人成电影在线观看四季| 日韩欧美成人午夜| 天天综合网天天综合色 | 亚洲成人综合网站| 免费在线成人网| 欧美视频一区在线观看| 亚洲精品免费视频| 免费成人深夜小野草| 精品视频999| 午夜不卡av免费| 欧美日韩国产一区| 午夜精品爽啪视频| 欧美精品一二三| 国产精品嫩草99a| 国产福利精品一区二区| 日本高清无吗v一区| 日韩欧美中文字幕制服| 日韩理论在线观看| 久久er99精品| 精品国产欧美一区二区| 国产很黄免费观看久久| 欧美高清在线一区| 99久久精品国产精品久久| 亚洲欧美一区二区三区久本道91| 美女在线视频一区| 日韩精品中午字幕| 国产一区二区按摩在线观看| 久久久久久**毛片大全| 美日韩一区二区三区| 久久精品亚洲麻豆av一区二区| 国产一区不卡精品| 国产精品国产a| 美女视频一区在线观看| 国产午夜精品一区二区| 91在线免费看| 日本韩国欧美三级| 日韩精品一区二区三区视频| 日韩激情视频在线观看| 日韩专区欧美专区| 精品久久久久99| 国产精品一区二区视频| 亚洲图片另类小说| 91.麻豆视频| 国产高清无密码一区二区三区| 亚洲欧美在线另类| 91精品久久久久久蜜臀| 国产不卡高清在线观看视频| 日韩视频一区二区三区在线播放| 狠狠v欧美v日韩v亚洲ⅴ| 日韩精品最新网址| 91亚洲国产成人精品一区二三| 欧美国产一区二区在线观看| 在线精品亚洲一区二区不卡| 亚洲图片欧美色图| 欧美日韩在线亚洲一区蜜芽| 国产在线精品视频| 精品在线观看免费| 7777女厕盗摄久久久| 国产在线不卡一区| 夜夜嗨av一区二区三区网页 | 国产精品色婷婷久久58| 欧美三级一区二区| 岛国av在线一区| 国产精品嫩草99a| 日韩欧美成人一区二区| 色噜噜狠狠色综合欧洲selulu| 久久er99精品| 视频在线在亚洲| 中文字幕中文字幕在线一区 | 一本色道**综合亚洲精品蜜桃冫| 日本成人在线电影网| 亚洲欧美日本韩国| 中文字幕免费不卡在线| 26uuu久久天堂性欧美| 欧美电影一区二区| 91在线播放网址| 成人在线视频一区| 国产高清在线精品| 国产乱子轮精品视频| 日本伊人色综合网| 午夜一区二区三区在线观看| 亚洲丝袜精品丝袜在线| 国产精品美女久久久久aⅴ| 精品国产伦一区二区三区观看方式 | 91免费观看视频| 国产成人av福利| 国产乱理伦片在线观看夜一区| 日韩有码一区二区三区| 亚洲线精品一区二区三区 | 日日欢夜夜爽一区| 亚洲va欧美va人人爽| 亚洲国产精品久久人人爱 | 日本精品视频一区二区三区| 不卡视频在线看| 亚瑟在线精品视频| 亚洲成av人片一区二区| 亚洲靠逼com| 午夜欧美在线一二页| 亚洲成av人片在线观看无码| 天天综合网 天天综合色| 午夜精品123| 青青草国产成人av片免费| 日韩国产精品久久久久久亚洲| 日韩电影免费在线看| 日韩高清不卡在线| 久久精品国产秦先生| 精品亚洲成a人在线观看| 国产精品中文字幕一区二区三区| 国产一区二区美女诱惑| av一区二区三区黑人| 日产国产欧美视频一区精品 | 国产一区二区不卡老阿姨| 国产丶欧美丶日本不卡视频| 成人av免费网站| 欧美午夜精品久久久| 欧美一级二级三级乱码| 久久久久亚洲蜜桃| 亚洲欧美电影院| 丝袜亚洲另类丝袜在线| 国产制服丝袜一区| 99久久精品免费看| 4438x亚洲最大成人网| 26uuu另类欧美亚洲曰本| 亚洲三级在线观看| 日韩国产欧美一区二区三区| 国产91精品一区二区麻豆网站| av成人动漫在线观看| 91精品欧美一区二区三区综合在| 久久综合久久综合亚洲| 亚洲欧美一区二区久久| 久久精品国产网站| 91福利国产成人精品照片| 日韩欧美久久久| 日韩一区日韩二区| 免费在线看成人av| 色综合久久久网| 久久综合久久综合久久综合| 一区二区三区四区在线| 国产乱码字幕精品高清av| 91黄色激情网站| 欧美国产一区二区| 日韩av网站在线观看| 色综合视频一区二区三区高清| 精品日韩在线观看| 亚洲国产精品久久人人爱| 成人综合婷婷国产精品久久免费| 欧美剧情片在线观看| 亚洲欧洲另类国产综合| 国产精品996| 欧美一二区视频| 亚洲国产视频一区二区| 99免费精品视频| 久久久久久久久久久黄色| 五月天激情综合网| 一本色道久久综合亚洲aⅴ蜜桃| 精品日韩欧美一区二区| 亚欧色一区w666天堂| 91精品福利视频| **网站欧美大片在线观看| 国产精品一区二区黑丝| 日韩欧美成人激情| 免费在线看一区| 67194成人在线观看| 亚洲一区二区在线视频| 91亚洲精品久久久蜜桃网站| 国产日韩欧美高清| 国产福利精品一区二区| 26uuu亚洲综合色欧美| 蜜臀av亚洲一区中文字幕| 欧美卡1卡2卡| 亚洲.国产.中文慕字在线| 欧美日韩国产精选| 亚洲国产精品精华液网站| 欧美亚洲国产一区二区三区va| 亚洲欧美日韩精品久久久久| 99精品视频一区二区|