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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ch06.htm

?? /// //Visual C++ 6.0 21天自學(xué)教程
?? HTM
字號(hào):
<!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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久 天天综合| 高清不卡在线观看| 国产日韩成人精品| 欧美丝袜自拍制服另类| 国产精品一级在线| 偷拍日韩校园综合在线| 国产精品久久夜| 日韩免费一区二区三区在线播放| 99热这里都是精品| 国产在线一区观看| 亚洲成av人影院| 亚洲视频网在线直播| 国产亚洲精久久久久久| 欧美一区二区三区在线观看| 91麻豆成人久久精品二区三区| 国产精品自在在线| 免费在线观看一区二区三区| 亚洲在线一区二区三区| 中文一区二区在线观看| 精品蜜桃在线看| 日韩一区二区三区免费看 | 岛国av在线一区| 日韩电影在线观看网站| 夜夜亚洲天天久久| 亚洲人成网站色在线观看| 欧美国产一区二区| 久久蜜桃一区二区| 久久综合五月天婷婷伊人| 日韩一区二区三| 欧美久久高跟鞋激| 欧美系列在线观看| 欧美性感一类影片在线播放| 日韩欧美国产三级| 极品美女销魂一区二区三区免费| 国产精品久久久久久久久动漫| 国产亚洲欧美激情| 久久亚洲一区二区三区明星换脸| 精品国产成人系列| 亚洲精品国产精华液| 亚洲欧美电影一区二区| 亚洲欧美另类久久久精品| 亚洲欧美综合另类在线卡通| 国产精品剧情在线亚洲| 亚洲欧洲99久久| 亚洲美腿欧美偷拍| 亚洲曰韩产成在线| 午夜av一区二区| 婷婷一区二区三区| 美脚の诱脚舐め脚责91| 美国一区二区三区在线播放| 激情欧美一区二区三区在线观看| 久久爱www久久做| 国产一区二区三区免费播放| 国产盗摄女厕一区二区三区| 成人黄色在线网站| 色综合天天综合网天天狠天天| 色综合久久九月婷婷色综合| 欧美在线不卡视频| 欧美一区2区视频在线观看| 日韩欧美一区二区不卡| 久久精品欧美日韩精品| 亚洲欧洲日韩av| 亚洲综合一区二区| 麻豆一区二区三区| 成人国产精品免费观看动漫| 色综合咪咪久久| 欧美一区日韩一区| 国产网站一区二区| 亚洲精选免费视频| 日韩制服丝袜av| 国产精品自拍网站| 在线免费av一区| www一区二区| 亚洲手机成人高清视频| 日韩不卡一区二区| 成人免费看黄yyy456| 欧美视频在线一区| 久久综合一区二区| 亚洲午夜久久久久| 国产美女在线精品| 色综合久久久久久久久| 日韩亚洲欧美综合| 一色屋精品亚洲香蕉网站| 亚洲成a人片在线不卡一二三区| 国产乱色国产精品免费视频| 色综合天天天天做夜夜夜夜做| 正在播放亚洲一区| 国产精品麻豆视频| 日韩中文字幕区一区有砖一区| 高清成人免费视频| 欧美精品自拍偷拍| 国产精品国产自产拍在线| 成人免费一区二区三区在线观看| 成人黄色777网| 欧美一区二区三区免费大片| 欧美吞精做爰啪啪高潮| 麻豆91精品91久久久的内涵| 日韩免费高清av| 国产精品第一页第二页第三页| 日韩成人伦理电影在线观看| 国产成人在线看| 91精品国产综合久久精品app| 中文无字幕一区二区三区| 秋霞午夜鲁丝一区二区老狼| 99久久伊人网影院| www国产精品av| 日本在线不卡视频一二三区| 99视频精品免费视频| 久久一区二区视频| 免费在线观看一区| 欧美日韩精品一区二区三区蜜桃 | 午夜精品影院在线观看| 国产suv精品一区二区883| 在线观看91精品国产麻豆| 亚洲私人黄色宅男| 国产精品一区二区视频| 日韩一区二区麻豆国产| 午夜精品一区二区三区三上悠亚| 99在线视频精品| 亚洲国产精品t66y| 国产一区二区三区最好精华液| 欧美精品黑人性xxxx| 亚洲国产精品影院| 在线中文字幕不卡| 国产精品区一区二区三| 国产精品一区二区黑丝| 欧美va日韩va| 美女国产一区二区三区| 欧美一级国产精品| 三级一区在线视频先锋| 欧美日韩在线电影| 一二三区精品福利视频| 一本大道久久精品懂色aⅴ| 亚洲欧洲一区二区在线播放| 成人亚洲一区二区一| 久久国产乱子精品免费女| 欧美精品一二三四| 午夜精品久久久久久久久久久 | 日韩精品一区二区三区中文不卡 | 成+人+亚洲+综合天堂| 国产欧美日韩另类视频免费观看| 国产精品一二三四五| 国产色91在线| 成人99免费视频| 综合精品久久久| 欧美性高清videossexo| 午夜在线电影亚洲一区| 欧美一区二区三区免费观看视频| 久久99久久久欧美国产| 精品美女在线观看| 国产成人免费9x9x人网站视频| 中文字幕av一区二区三区免费看| av影院午夜一区| 亚洲一区在线观看免费 | 一本大道综合伊人精品热热| 夜夜亚洲天天久久| 欧美一级片免费看| 国产乱人伦偷精品视频免下载| 国产精品不卡一区二区三区| 91国产免费看| 久久99精品国产.久久久久久| 久久久亚洲精品一区二区三区| 福利电影一区二区| 亚洲国产毛片aaaaa无费看 | 久久电影国产免费久久电影 | 国产精品久久久久影院| 91美女片黄在线观看| 亚洲成人一区二区在线观看| 欧美电视剧免费全集观看| 高清视频一区二区| 午夜精品久久一牛影视| 久久久精品日韩欧美| 99re热这里只有精品免费视频| 亚洲国产欧美一区二区三区丁香婷| 日韩欧美激情一区| av亚洲精华国产精华精华| 亚洲国产精品久久久男人的天堂| 欧美成人一区二区三区片免费| 粗大黑人巨茎大战欧美成人| 午夜视频久久久久久| 久久精品人人做人人爽97| 在线观看www91| 国内精品免费**视频| 亚洲蜜臀av乱码久久精品 | 国产精品沙发午睡系列990531| 在线观看亚洲精品| 国产精品综合一区二区三区| 亚洲一二三四在线观看| 久久久不卡影院| 欧美理论在线播放| 99精品久久只有精品| 精品一区二区三区久久| 亚洲在线观看免费视频| 国产日韩av一区二区| 欧美一区二区在线视频| 99精品视频免费在线观看| 久久国产精品99久久久久久老狼 | 日韩和欧美一区二区| 中文成人av在线| 日韩欧美精品三级|