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

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

?? apc.htm

?? Learning language of Visual C++6
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
</BLOCKQUOTE>

<P>This method of editing dialog boxes is one of the reasons for the name <I>Visual
C++</I>. In this product, if you want a button to be a little lower on a dialog box,
you click it with the mouse, drag it to the new position, and release the mouse button.
Similarly, if you want the dialog box larger or smaller, grab a corner or edge and
drag it to the new size, like any other sizable window. Before Visual C++ was released,
the process involved coding and pixel counting and took many minutes rather than
just a few seconds. This visual approach to dialog box building made Windows programming
accessible to many more programmers.</P>
<P><A HREF="javascript:popUp('xcuvc04.gif')"><B>FIG. C.4</B></A><B> </B><I>Dialog
boxes receive information from the user.</I></P>
<H3><I></I></H3>
<H3><A NAME="Heading6"></A>Icons</H3>
<P><I>Icons</I> are small bitmaps that represent your program or its documents. For
example, when a program is minimized, an icon is used to represent it. A larger version
of that icon is used to represent both the program and its documents within an Explorer
window. When an MDI window is minimized within your application, the minimized window
is represented by an icon. Figure C.5 shows the default icon provided by AppWizard
for minimized MDI windows. One of your first tasks after building any application
is to replace this with an icon that more clearly represents the work your program
performs.</P>
<P>An icon is a 32*32 pixel bitmap that can be edited with any number of drawing
tools, including the simple bitmap editor included in Developer Studio. The interface
is very similar to Microsoft Paint or Microsoft Paintbrush in Zoom mode. You can
draw one pixel at a time by clicking, or freehand lines by clicking and dragging.
You can work on the small or zoomed versions of the icon and see the effects at once
in both places.</P>
<P>
<H3><A NAME="Heading7"></A>Menus</H3>
<P>With <I>menus, </I>users can tell your program what to do. <I>Keyboard shortcuts</I>
(accelerators) are linked to menu items, as are toolbar buttons. AppWizard creates
the standard menus for a new application, and you edit those and create new ones
in this view. Later, you'll use ClassWizard to connect menu items to functions within
your code. Figure C.6 shows a menu displayed in the ResourceView. Choose View, Properties
to display the Menu \revised Properties box for the menu item. Every menu item has
the following three components:</P>
<P><A HREF="javascript:popUp('xcuvc05.gif')"><B>FIG. C.5</B></A><B> </B><I>Icons
represent your application and its documents.</I></P>
<P>

<UL>
	<LI><I>Resource ID</I>. This uniquely identifies this menu item. Accelerators and
	toolbar buttons are linked to resource IDs. The convention is to build the ID from
	the menu choices that lead to the item. In Figure C.6, the resource ID is ID_FILE_OPEN.
	<P>
	<LI><I>Caption</I>. This is the text that appears for a menu choice. In Figure C.6,
	the caption is &amp;Open...\tCtrl+O. The &amp; means that the O will appear underlined,
	and the menu item can be selected by typing <B>O </B>when the menu is displayed.
	The \t is a tab, and the Ctrl+O is the accelerator for this menu item, as defined
	in Figure C.3.
	<P>
	<LI><I>Prompt</I>. A prompt appears in the status bar when the highlight is on the
	menu item or the cursor is over the associated toolbar button. In Figure C.6, the
	prompt is Open an existing document\nOpen. Only the portion before the newline (\n)
	is displayed in the status bar. The second part of the prompt, Open, is the text
	for the ToolTip that appears if the user pauses the mouse over a toolbar button with
	this resource ID. All this functionality is provided for you automatically by the
	framework of Visual C++ and MFC.
</UL>

<H3><A NAME="Heading8"></A>The String Table</H3>
<P>The <I>string table</I> is a list of strings within your application. Many strings,
such as the static text on dialog boxes or the prompts for menu items, can be accessed
in far simpler ways than through the string table, but some are reached only through
it. For example, a default name or value can be kept in the string table and changed
without recompiling any code, though the resources will have to be compiled and the
project linked. Each of these could be hard-coded into the program, but then changes
would require a full recompile.</P>
<P>Figure C.7 shows the string table for a sample application. To change a string,
open the String Table Properties dialog box and change the caption. Strings cannot
be changed within the main working area.</P>
<P><A HREF="javascript:popUp('xcuvc06.gif')"><B>FIG. C.6</B></A><B> </B><I>Your application
receives commands through menus.</I></P>
<P><A HREF="javascript:popUp('xcuvc07.gif')"><B>FIG. C.7</B></A><B> </B><I>The string
table stores all the prompts and text in your application.</I></P>
<H3><I></I></H3>
<H3><A NAME="Heading9"></A>Toolbars</H3>
<P><I>Toolbars</I> are the lines of small buttons typically located directly underneath
the menus of an application. Each button is linked to a menu item, and its appearance
depends on the state of the menu item. If a menu item is grayed, the corresponding
toolbar button is grayed as well. If a menu item is checked, the corresponding toolbar
button is typically drawn as a pushed-in button. In this way, toolbar buttons serve
as indicators as well as mechanisms for giving commands to the application.</P>
<P>A toolbar button has two parts: a bitmap of the button and a resource ID. When
a user clicks the button, it is just as though the menu item with the same resource
ID was chosen. Figure C.8 shows a typical toolbar and the properties of the File,
Open button on that toolbar. In this view, you can change the resource ID of any
button and edit the bitmap with the same tools used to edit icons.</P>
<P><A HREF="javascript:popUp('xcuvc08.gif')"><B>FIG. C.8</B></A><B> </B><I>Toolbar
buttons are associated with menu items through a resource ID.</I></P>
<P>
<H3><A NAME="Heading10"></A>Version Information</H3>
<P>Good installation programs use the version information resource when installing
your application on a user's machine. For example, if a user is installing an application
that has already been installed, the installation program may not have to copy as
many files. It may alert the user if an old version is being installed over a new
version, and so on.</P>
<P>When you create an application with AppWizard, version information like that in
Figure C.9 is generated for you automatically. Before attempting to change any of
it, make sure you understand how installation programs use it.</P>
<P><A HREF="javascript:popUp('xcuvc09.gif')"><B>FIG. C.9</B></A><B> </B><I>Version
information is used by install programs.</I></P>
<H2><I></I></H2>
<H2><A NAME="Heading11"></A>Looking at Your Code, Arranged by Class</H2>
<P>The ClassView shows the classes in your application. Under each class, the member
variables and functions are shown, as demonstrated in Figure C.10. Member functions
are shown first with a purple icon next to them, followed by member variables with
a turquoise icon. Protected members have a key next to the icon, whereas private
members have a padlock.</P>
<P><A HREF="javascript:popUp('xcuvc10.gif')"><B>FIG. C.10</B></A><B> </B><I>The ClassView
shows the functions and variables in each class in your application.</I></P>
<P>Double-clicking a function name opens the source for that function in the main
working area, as shown in Figure C.10. Double-clicking a variable name opens the
file in which the variable is declared.</P>
<P>Right-clicking a classname opens a shortcut menu, shown in Figure C.11, with these
items:</P>

<UL>
	<LI><I>Go to Definition</I>. Opens the header (.h) file at the definition of this
	class.
	<P>
	<LI><I>Go to Dialog Editor.</I> For classes associated with a dialog box, opens the
	dialog box in the resource editor.
	<P>
	<LI><I>Add Member Function</I>. Opens the Add Member Function dialog box shown in
	Figure C.12. This adds a declaration of the function to the header file, and the
	stub of a definition to the source file.
</UL>

<P><A HREF="javascript:popUp('xcuvc11.gif')"><B>FIG. C.11</B></A><B> </B><I>Common
commands related to classes are on the ClassView shortcut menu for a class.</I></P>
<P><I><BR>
</I><A HREF="javascript:popUp('xcuvc12.gif')"><B>FIG. C.12</B></A><B> </B><I>Never
again forget to add part of a function declaration or definition when you use the
Add Member Function shortcut.</I></P>

<UL>
	<LI><I>Add Member Variable</I>. Opens the Add Member Variable dialog box shown in
	Figure C.13. This adds a declaration of the variable to the header file.
</UL>

<P><A HREF="javascript:popUp('xcuvc13.gif')"><B>FIG. C.13</B></A><B> </B><I>Simplify
adding member variables with this shortcut.</I></P>
<P>

<UL>
	<LI><I>Add Virtual Function</I>. Opens the New Virtual Override dialog box, discussed
	in Chapter 3, &quot;Messages and Commands.&quot;
	<P>
	<LI><I>Add Windows Message Handler</I>. Opens the New Windows Message and Event Handlers
	dialog box, discussed in Chapter 3.
	<P>
	<LI><I>References</I>. Opens a list of the places where the classname is mentioned
	within your application. Typically the classname occurs in declarations of instances
	of the class, but this will also find places where the classname is passed as a parameter
	to a function or macro.
	<P>
	<LI><I>Derived Classes</I>. Opens a list of all the member functions and member variables
	of this class, a list of other classes that use this class as a base class, and the
	references information.
	<P>
	<LI><I>Base Classes</I>. Opens a list of all the member functions and member variables
	of this class, a list of the base classes of this class, and the references information.
	<P>
	<LI><I>Add to Gallery</I>. Adds this class to the Component Gallery, discussed in
	Chapter 25, &quot;Achieving Reuse with the Gallery and Your Own AppWizards.&quot;
	<P>
	<LI><I>New Folder</I>. Creates a folder you can drag classes into. This helps to
	organize projects with large numbers of classes.
	<P>
	<LI><I>Group by Access</I>. Rearranges the order of the list. By default, functions
	are listed in alphabetical order, followed by data members in alphabetical order.
	With this option toggled on, functions come first (public, then protected, then private
	functions, alphabetically in each section) followed by data members (again public,
	then protected, then private data members, alphabetically in each section).
	<P>
	<LI><I>Docking View</I>. Keeps the project workspace window docked at the side of
	the main working area or undocks it if it was docked.
	<P>
	<LI><I>Hide</I>. Hides the project workspace window. To redisplay it, choose View,
	Workspace.
	<P>
	<LI><I>Properties</I>. Displays the properties of the class (name, base class).
</UL>



<BLOCKQUOTE>
	<P>
<HR>
<strong>TIP:</strong> Menu items that appear on a toolbar have their toolbar icon next to
	them on the menu. Make note of the icon; the next time you want to choose that item,
	perhaps you can use a toolbar instead. 
<HR>


</BLOCKQUOTE>

<P>Right-clicking the name of a member function opens a substantial shortcut menu,
with the following menu items:</P>

<UL>
	<LI><I>Go To Definition</I>. Opens the source (.cpp) file at the code for this function.
	<P>
	<LI><I>Go To Declaration</I>. Opens the header (.h) file at the declaration of this
	function.
	<P>
	<LI><I>Delete</I>. Removes the function from the class.
	<P>
	<LI><I>Set Breakpoint</I>. Sets a breakpoint. Breakpoints are discussed in Appendix
	D, &quot;Debugging.&quot;
	<P>
	<LI><I>References</I>. Opens a list of the places where the function is called within
	your application.
	<P>
	<LI><I>Calls</I>. Displays a collapsible and expandable outline of all the functions
	that this function calls. Figure C.14 shows a sample Call Graph window.
</UL>

<P><A HREF="javascript:popUp('xcuvc14.gif')"><B>FIG. C.14</B></A><B> </B><I>The Call
Graph window lists all the functions that your function calls, and all the functions
they call, and so on.</I></P>

<UL>
	<LI><I>Called By</I>. Displays a Callers Graph listing the functions this function
	is called by.
	<P>
	<LI><I>New Folder</I>. Creates a folder you can drag classes into. This helps organize
	projects with large numbers of classes.
	<P>
	<LI><I>Group by Access</I>. Rearranges the order of the list. By default, functions
	are listed in alphabetical order, followed by data members in alphabetical order.
	With this option toggled on, functions come first (public, then protected, then private
	functions, alphabetically in each section) followed by data members (again public,
	then protected, then private data members, alphabetically in each section).
	<P>
	<LI><I>Docking View</I>. Keeps the workspace window docked at the side of the main
	working area.
	<P>
	<LI><I>Hide</I>. Hides the workspace window. To redisplay it, choose View, Workspace.
	<P>
	<LI><I>Properties</I>. Displays the properties of the function (name, return type,
	parameters).
</UL>

<P>Right-clicking the name of a member variable opens a shortcut menu with less menu
items. The items are as follows:</P>

<UL>
	<LI><I>Go To Definition</I>. Opens the header (.h) file at the declaration of this
	variable.
	<P>
	<LI><I>References</I>. Opens a list of the places where the variable is used within
	your application.
	<P>
	<LI><I>New Folder</I>. Creates a folder you can drag classes into. This helps organize
	projects with large numbers of classes.
	<P>
	<LI><I>Group by Access</I>. Rearranges the order of the list. By default, functions
	are listed in alphabetical order, followed by data members in alphabetical order.
	With this option toggled on, functions come first (public, then protected, then private
	functions, alphabetically in each section) followed by data members (again public,
	then protected, then private data members, alphabetically in each section).
	<P>
	<LI><I>Docking View</I>. Keeps the workspace window docked at the side of the main
	working area.
	<P>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产综合草草| 国产精品538一区二区在线| 免费成人性网站| 国产又黄又大久久| 91日韩在线专区| 欧美精品久久久久久久多人混战 | 亚洲欧洲国产日韩| 亚洲地区一二三色| 国产一区在线看| 色屁屁一区二区| 精品国产在天天线2019| 亚洲裸体在线观看| 久草精品在线观看| 色综合久久中文字幕综合网| 日韩一本二本av| 亚洲欧美区自拍先锋| 免费不卡在线视频| 91啪九色porn原创视频在线观看| 欧美一区二区三区啪啪| 中文字幕制服丝袜一区二区三区| 日韩中文字幕一区二区三区| www.欧美日韩| 精品国产乱码久久久久久久| 亚洲综合色自拍一区| 国产成人在线视频播放| 这里是久久伊人| 亚洲欧洲三级电影| 久久成人免费电影| 欧美在线免费观看亚洲| 国产午夜精品在线观看| 天堂成人免费av电影一区| 成人动漫中文字幕| 国产女人18毛片水真多成人如厕 | 欧美人妇做爰xxxⅹ性高电影| 久久久夜色精品亚洲| 天天亚洲美女在线视频| 99国产一区二区三精品乱码| 亚洲精品在线电影| 日本三级亚洲精品| 欧美制服丝袜第一页| 最新不卡av在线| 国产成人精品综合在线观看 | 韩国精品主播一区二区在线观看| 色天使久久综合网天天| 国产精品乱人伦一区二区| 美国十次了思思久久精品导航| 欧美影院一区二区| 亚洲男人的天堂在线aⅴ视频| 国产·精品毛片| 久久久久久97三级| 国产一区二区视频在线播放| 欧美一区二区福利视频| 视频一区二区国产| 欧美午夜在线一二页| 一区二区三区中文字幕电影| 成人av集中营| 国产精品久久久久久久久久久免费看| 久久超碰97中文字幕| 91精品国产91久久综合桃花| 亚洲国产色一区| 欧美专区日韩专区| 亚洲愉拍自拍另类高清精品| 色偷偷久久人人79超碰人人澡| 国产精品国产三级国产普通话三级 | 99久久精品久久久久久清纯| 欧美国产一区在线| 成人深夜在线观看| 日本一区二区免费在线| 国产91丝袜在线播放| 国产亚洲一本大道中文在线| 国产在线精品免费| 久久久精品天堂| 国产不卡高清在线观看视频| 国产日韩欧美高清| 成人精品国产福利| 日韩久久一区二区| 色婷婷综合久久久中文字幕| 亚洲主播在线观看| 欧美乱熟臀69xxxxxx| fc2成人免费人成在线观看播放 | 色婷婷久久久亚洲一区二区三区| 成人免费在线视频| 色天使色偷偷av一区二区| 亚洲在线免费播放| 69av一区二区三区| 狠狠色2019综合网| 国产精品三级久久久久三级| 99re在线精品| 五月天中文字幕一区二区| 日韩欧美国产一二三区| 久久综合综合久久综合| 久久精品日韩一区二区三区| 成人高清伦理免费影院在线观看| 中文字幕一区二区三区视频| 欧美调教femdomvk| 麻豆91在线观看| 中文字幕av一区二区三区高 | 国产精品传媒视频| 欧美在线小视频| 另类小说综合欧美亚洲| 欧美国产精品劲爆| 欧美在线视频不卡| 久久精工是国产品牌吗| 欧美国产日韩亚洲一区| 色婷婷亚洲婷婷| 久久99精品久久久久久国产越南| 欧美国产一区在线| 欧美性大战久久久久久久蜜臀| 久久爱另类一区二区小说| 欧美激情一区二区三区不卡| 欧美在线free| 国产精品一二三| 亚洲自拍欧美精品| 精品国产a毛片| 91在线视频观看| 日本视频免费一区| 中文字幕一区二区三区乱码在线| 欧美日韩国产a| 国产不卡在线视频| 日韩国产欧美三级| 国产精品精品国产色婷婷| 欧美精品久久一区二区三区| 国产高清精品网站| 视频在线观看91| 国产女人18水真多18精品一级做| 欧美日韩一区二区三区在线看| 久99久精品视频免费观看| 亚洲精品成a人| 国产午夜精品理论片a级大结局| 欧美日韩在线播| 成人99免费视频| 精品一区二区三区在线播放 | 欧美伊人久久大香线蕉综合69| 蜜乳av一区二区| 夜色激情一区二区| 欧美韩国日本综合| 日韩欧美一卡二卡| 欧美亚洲一区二区在线| 国产高清无密码一区二区三区| 爽好久久久欧美精品| 日韩伦理免费电影| www激情久久| 欧美一区二区三区在线电影| 一本到三区不卡视频| 国产精品影视天天线| 日韩国产在线一| 亚洲精品菠萝久久久久久久| 欧美激情一区二区三区四区| 欧美电视剧在线观看完整版| 欧美性感一类影片在线播放| 成人av在线播放网站| 激情综合色综合久久综合| 性欧美大战久久久久久久久| 国产精品美女久久久久高潮| 久久你懂得1024| 精品国产免费久久| 欧美一级久久久| 欧美色手机在线观看| 91在线免费视频观看| 国产精品456露脸| 久久精品国产99久久6| 视频一区在线视频| 亚洲成av人片在线| 亚洲一区二区综合| 亚洲黄色小视频| 亚洲男同性视频| 中文字幕一区二区三区四区 | 97久久超碰国产精品电影| 国产精品自产自拍| 国产一区二区三区久久悠悠色av| 美女网站色91| 麻豆国产精品官网| 久久99精品久久久久婷婷| 奇米精品一区二区三区在线观看| 午夜视频一区二区| 亚洲www啪成人一区二区麻豆| 亚洲一区二区三区不卡国产欧美| 亚洲视频在线观看一区| 国产精品成人免费| 中文字幕亚洲在| 中文字幕亚洲电影| 亚洲视频一二区| 亚洲女子a中天字幕| 一区二区三区中文字幕| 亚洲五月六月丁香激情| 亚洲动漫第一页| 五月天一区二区三区| 天天色 色综合| 免费不卡在线视频| 国内一区二区在线| 国产盗摄精品一区二区三区在线| 国产在线一区二区综合免费视频| 国产美女娇喘av呻吟久久| 国产69精品久久久久777| 成人黄色小视频在线观看| 99热在这里有精品免费| 欧美午夜在线一二页| 欧美巨大另类极品videosbest| 日韩一区二区在线观看| 久久新电视剧免费观看|