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

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

?? ch06.htm

?? 21天學會VC的英文版
?? HTM
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
	<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<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 += '</head>';
 zhtm += '<BODY bgcolor="#FFFFFF">
<!-- Spidersoft WebZIP Ad Banner Insert -->
<TABLE width=100% border="0" cellpadding="0" cellspacing="0">
<TR>
<TD>
<ILAYER id=ad1 visibility=hidden height=60></ILAYER>
<NOLAYER>
<IFRAME SRC="http://www.spidersoft.com/ads/bwz468_60.htm" width="100%" height="60" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></IFRAME>
</NOLAYER>
</TD>
</TR>
</TABLE>
<!-- End of Spidersoft WebZIP Ad Banner Insert-->
';
 zhtm += '<IMG SRC="' + fullPath + pPage + '">';
 zhtm += '<P><B>' + pPage + '</B>';
 zhtm += '
<layer src="http://www.spidersoft.com/ads/bwz468_60.htm" visibility=hidden id=a1 width=600 onload="moveToAbsolute(ad1.pageX,ad1.pageY); a1.clip.height=60;visibility='show';"></layer>
</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">

	<META NAME="GENERATOR" Content="Symantec Visual Page Mac 1.1.1">
	<TITLE>Teach Yourself Visual C++ 6 in 21 Days -- Ch 6 -- Creating Menus for Your Application</TITLE>
</HEAD>

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

<H1 ALIGN="CENTER"><IMG SRC="../button/sams.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM"
BORDER="0"><BR>
Teach Yourself Visual C++ 6 in 21 Days</H1>
<CENTER>
<P><A HREF="../ch05/ch05.htm"><IMG SRC="../button/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../ch07/ch07.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>
<H1 ALIGN="CENTER">- 6 -<BR>
Creating Menus for Your Application</H1>
<H1></H1>

<UL>
	<LI><A HREF="#Heading1">Menus</A>
	<UL>
		<LI><A HREF="#Heading2">Menu Styles</A>
		<LI><A HREF="#Heading3">Keyboard Shortcut-Enabling Menus</A>
		<LI><A HREF="#Heading4">Menu Standards and Conventions</A>
	</UL>
	<LI><A HREF="#Heading5">Designing Menus</A>
	<LI><A HREF="#Heading6">Creating a Menu</A>
	<UL>
		<LI><A HREF="#Heading7">Creating the Application</A>
		<LI><A HREF="#Heading8">Adding and Customizing a Menu</A>
		<LI><A HREF="#Heading9">Attaching the Menu to Your Dialog Window</A>
		<LI><A HREF="#Heading10">Attaching Functionality to Menu Entries</A>
	</UL>
	<LI><A HREF="#Heading11">Creating Pop-Up Menus</A>
	<LI><A HREF="#Heading12">Creating a Menu with Accelerators</A>
	<LI><A HREF="#Heading13">Summary</A>
	<LI><A HREF="#Heading14">Q&amp;A</A>
	<LI><A HREF="#Heading15">Workshop</A>
	<UL>
		<LI><A HREF="#Heading16">Quiz</A>
		<LI><A HREF="#Heading17">Exercises</A>
	</UL>
</UL>

<P>
<HR SIZE="4">
<BR>
Most Windows applications use pull-down menus to provide the user a number of functions
without having to provide buttons on the window. This enables you to provide your
users a large amount of functionality while preserving most of your valuable screen
real estate for other stuff.</P>

<P>Today you will learn</P>
<P>

<UL>
	<LI>How to create menus for your Visual C++ application
	<P>
	<LI>How to attach a menu to your application's main dialog window
	<P>
	<LI>How to call application functions from a menu
	<P>
	<LI>How to create a pop-up menu that can be triggered with the right mouse button
	<P>
	<LI>How to set up accelerator keys for keyboard shortcuts to menus
</UL>

<H2><A NAME="Heading1"></A>Menus</H2>
<P>Back when the first computer terminals were introduced and users began using computer
software, even on large mainframe systems software developers found the need to provide
the users with some sort of menu of the functions that the computer could perform.
These early menus were crude by today's standards and were difficult to use and navigate.
Menus have progressed since then; they've become standardized in how they are used
and easy to learn.</P>
<P>The software designers that first came up with the idea of a graphical user interface
(GUI) planned to make computer systems and applications easier to learn by making
everything behave in a consistent manner. Menus used for selecting application functionality
were one part of the GUI design that could be more easily learned if they all worked
the same. As a result, a number of standard menu styles were developed.</P>
<P>
<H3><A NAME="Heading2"></A>Menu Styles</H3>
<P>The first menu styles that were standardized are the pull-down and cascading menus.
These are the menus with the categories all listed in a row across the top of the
application window. If you select one of the categories, a menu drops down below
the category, with a number of menu entries that can be selected to trigger various
functions in the application.</P>
<P>A variation on this menu style is the <I>cascading menu</I>, which has another
submenu that opens to the right of a menu entry. This submenu is similar to the pull-down
menu, with a number of entries that trigger application functions. The menu designers
placed no limit on how many cascading menus can be strung together, but it quickly
became clear to most developers that more than two cascading levels is a little unwieldy.</P>
<P>Eventually, a third style of menu was developed, called a <I>pop-up</I> or <I>context
menu</I>--a menu that pops up in the middle of the application area, floating freely
above the application work area. This is also called a context menu because the specific
menu that pops up is dependent on the selected object or workspace area where the
cursor or mouse pointer is.</P>
<P>
<H3><A NAME="Heading3"></A>Keyboard Shortcut-Enabling Menus</H3>
<P>When users began working with keyboard-intensive applications, such as word processors,
it was discovered that taking your hands off the keyboard to use the mouse to make
menu selections dramatically reduced productivity. Software designers decided that
they needed to add keyboard shortcuts for the various menu entries (especially the
most frequently used menu options). For this reason, keyboard shortcuts (accelerators)
and hotkeys were added.</P>
<P><I>Hotkeys</I> are letters that are underlined in each menu entry. If you press
the Alt key with the underlined letter, you can select the menu entry that contains
the underlined letter. This is a means of navigating application menus without taking
your hands off the keyboard.</P>
<P>For more advanced users, application designers added <I>keyboard shortcuts</I>,
or <I>accelerators</I>. An accelerator is a single key combination that you can press
to trigger an application function instead of having to navigate through the application
menus. This allows advanced users to avoid the overhead of using menus for the most
common application functions. To enable users to learn what accelerators are available
in an application, the key combination is placed on the menu entry that it can be
used to replace, positioned at the right edge of the menu window.</P>
<P>
<H3><A NAME="Heading4"></A>Menu Standards and Conventions</H3>
<P>Although there are no standards in how menus are designed, there are a number
of conventions for how they are designed and organized. All these conventions are
available in <I>Windows Interface Guidelines for Software Design</I>, published by
Microsoft for use by Windows software developers. The purpose of this publication
is to facilitate the development of consistent application behaviors, which will
help accomplish one of the primary goals behind the development of GUI systems. The
conventions are as follows:</P>
<P>

<UL>
	<LI>Use single-word menu categories across the top menu bar. A two-word category
	can easily be mistaken for two one-word categories.
	<P>
	<LI>The File menu is located as the first menu on the left. It contains all file-oriented
	functions (such as New, Open, Save, Print, and so on), as well as the Exit function.
	The Exit option is located at the bottom of the menu, separated from the rest of
	the menu entries by a border.
	<P>
	<LI>The Edit menu is next to the File menu. The Edit menu contains all editing functions
	such as Copy, Cut, Paste, Undo, Redo, and so on.
	<P>
	<LI>The View menu contains menu entries that control and affect the appearance of
	the application work area.
	<P>
	<LI>The Window menu is used in Multiple Document Interface (MDI) style applications.
	This has functions for controlling the child windows, selecting the current window,
	and altering the layout. This menu is the next-to-last menu from the right end of
	the menu bar.
	<P>
	<LI>The Help menu is the final menu on the right end of the menu bar. It contains
	menu entries that provide instruction or documentation on the application. If the
	application has any copyrighted or corporate information that needs to be available
	for viewing, this should be located as the final entry on this menu, labeled About<I>
	&lt;application name&gt;</I>.
</UL>

<H2><A NAME="Heading5"></A>Designing Menus</H2>
<P>Menus are defined as a resource in Visual C++ applications. Because they are a
resource, you can design menus in the Visual C++ editor through the Resource View
tab on the workspace pane. When you first create a dialog-style application, there
won't be a menu folder in the resource tree, but you can change that.</P>


<BLOCKQUOTE>
	<P>
<HR>
<STRONG>NOTE:</STRONG> Various aspects of Windows applications are considered to be resources,
	including window layouts, menus, toolbars, images, text strings, accelerators, and
	so on. All these features are organized in what is known as a <I>resource file</I>,
	which is used by the Visual C++ compiler to create these objects from their definitions.
	The resource file is a text file with an .rc filename extension and contains a textual
	description of all the various objects, including IDs, captions, dimensions, and
	so on.<BR>
	Some resources, such as images and sounds, cannot be described in text, but have
	to be stored in a binary format. These resources are stored in individual files,
	with the filenames and locations included in the resource file.
<HR>


</BLOCKQUOTE>

<H2><A NAME="Heading6"></A>Creating a Menu</H2>
<P>Creating a menu is

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美三级午夜理伦三级中视频| 亚洲精品在线一区二区| 日韩一区二区免费电影| 中文字幕电影一区| 久久国产剧场电影| 在线亚洲一区观看| 国产欧美精品日韩区二区麻豆天美| 亚洲香蕉伊在人在线观| 成人在线视频一区| 久久久久久久综合日本| 日韩精品一卡二卡三卡四卡无卡| 色综合天天综合在线视频| 国产欧美日韩亚州综合| 久久精品免费看| 欧美日韩一区三区| 亚洲美女屁股眼交| 99久久免费国产| 中文字幕av一区 二区| 韩国精品久久久| 精品精品国产高清a毛片牛牛| 亚洲综合色视频| 在线免费亚洲电影| 中文字幕日本不卡| 91网站最新网址| 国产精品超碰97尤物18| 成人禁用看黄a在线| 国产欧美一区在线| 丁香婷婷综合色啪| 欧美国产欧美亚州国产日韩mv天天看完整 | 国产精品亚洲综合一区在线观看| 欧美日韩精品欧美日韩精品 | 偷窥少妇高潮呻吟av久久免费| 色久综合一二码| 久久精品视频在线看| 精品一区二区久久久| 久久综合九色综合欧美亚洲| 激情文学综合网| 7777精品伊人久久久大香线蕉完整版 | 老司机一区二区| 久久色中文字幕| 国产99精品国产| 亚洲同性同志一二三专区| 色婷婷精品大在线视频 | 麻豆免费精品视频| 精品国免费一区二区三区| 国产精品1024| 亚洲欧洲av另类| 欧美日韩一区二区三区在线| 日韩激情在线观看| 国产三级欧美三级| 97国产精品videossex| 亚洲图片欧美视频| 日韩欧美一级特黄在线播放| 国产一区二三区好的| 国产精品日韩成人| 欧美在线free| 激情综合网av| 一区在线中文字幕| 在线91免费看| 成人小视频免费观看| 亚洲成国产人片在线观看| 欧美成人精品1314www| 成人h动漫精品一区二| 亚洲成人第一页| 久久免费美女视频| 色综合天天综合狠狠| 日韩av一区二区三区| 国产欧美一区二区三区沐欲| 欧美色视频在线观看| 国产精品白丝av| 亚洲成人你懂的| 国产精品私人影院| 日韩视频一区二区在线观看| 97精品国产97久久久久久久久久久久| 三级影片在线观看欧美日韩一区二区 | 亚洲综合精品久久| 国产日本亚洲高清| 777色狠狠一区二区三区| 99这里只有精品| 久久精品国产**网站演员| 亚洲色图在线播放| 久久综合成人精品亚洲另类欧美| 91麻豆高清视频| 国产乱码一区二区三区| 天堂va蜜桃一区二区三区| 亚洲欧美在线视频| 久久久国产综合精品女国产盗摄| 欧美性猛交xxxxxxxx| 99久久精品免费观看| 国产一区 二区| 日本美女一区二区三区视频| 一区二区三区在线免费观看| 久久久99免费| 日韩美一区二区三区| 欧美老女人在线| 一本色道**综合亚洲精品蜜桃冫| 国产成人超碰人人澡人人澡| 秋霞电影网一区二区| 亚洲午夜羞羞片| 亚洲色图19p| 自拍偷拍国产精品| 欧美国产日韩一二三区| 久久精品亚洲一区二区三区浴池| 91精品国产综合久久精品| 欧美手机在线视频| 欧美最猛性xxxxx直播| 色哟哟国产精品| 色婷婷综合久色| 色婷婷精品久久二区二区蜜臀av| 99久精品国产| 色呦呦日韩精品| 91久久国产综合久久| 91国产丝袜在线播放| 一本久道久久综合中文字幕| 91免费观看视频在线| 一本到三区不卡视频| 欧美在线综合视频| 欧美色图一区二区三区| 欧美性猛片aaaaaaa做受| 欧美日韩aaa| 日韩欧美第一区| 久久嫩草精品久久久精品一| 久久精品网站免费观看| 国产精品久久久久四虎| 日韩一区在线免费观看| 综合久久一区二区三区| 亚洲自拍偷拍av| 免费xxxx性欧美18vr| 国产一区二区福利视频| 国产成人a级片| 94-欧美-setu| 欧美日本在线观看| 337p日本欧洲亚洲大胆精品 | 福利电影一区二区| 91在线视频网址| 欧美日韩你懂得| 欧美精品一区二区精品网| 国产精品色噜噜| 亚洲一区在线观看免费观看电影高清| 亚洲国产视频一区| 精品一区二区在线视频| 成人av资源网站| 欧美日韩精品欧美日韩精品| 久久综合九色综合久久久精品综合 | 成人福利视频在线看| 欧美性色黄大片| 精品88久久久久88久久久 | 久久精品欧美日韩精品| 亚洲三级免费电影| 日韩电影一二三区| 成人免费av资源| 欧美另类高清zo欧美| 久久女同互慰一区二区三区| 玉足女爽爽91| 国产主播一区二区三区| 欧美艳星brazzers| 国产性天天综合网| 日韩制服丝袜av| 99久久婷婷国产综合精品电影| 在线不卡免费av| 中文字幕av一区二区三区| 日日摸夜夜添夜夜添亚洲女人| 高清shemale亚洲人妖| 欧美一区二区福利视频| 自拍偷在线精品自拍偷无码专区 | 久久久天堂av| 日韩制服丝袜av| 色综合中文字幕国产 | 午夜亚洲福利老司机| 丁香激情综合五月| 欧美xxxxxxxx| 亚洲成人午夜影院| 99re成人精品视频| 久久久影视传媒| 麻豆一区二区在线| 欧美男女性生活在线直播观看| 国产精品午夜在线| 国产精品一区二区果冻传媒| 91精品国产综合久久精品| 亚洲午夜在线电影| 色噜噜久久综合| 亚洲欧美偷拍另类a∨色屁股| 成人一区二区三区视频在线观看 | 亚洲精品免费一二三区| 国产成人精品一区二区三区四区| 日韩午夜三级在线| 午夜国产精品一区| 欧美在线短视频| 亚洲综合图片区| 日本高清不卡aⅴ免费网站| 中文av一区二区| 成人激情图片网| 中文字幕亚洲在| aaa亚洲精品一二三区| 国产精品视频一二三区| 国产精品正在播放| 久久久久久久综合日本| 国产精品一区一区| 日本一区二区免费在线| 国产不卡在线一区|