Editor's Note: The following MVP Monday post is by Visual C++ MVP Cheng Yin (Below the English version is the Chinese version.)
Microsoft released a new generation of operating system "Windows 8" consumers preview for users to experience as free download.. The new system using the new Metro-style user interface, a variety of applications, shortcuts to the style of the dynamic box on the screen, the user will see commonly used browser, social networking, games, etc. To install the "Windows 8" consumers preview version of the user's computer configuration need to meet the hardware requirements for Windows 7; to run some special features, you also need to have the high-resolution display, touch-screen display. Microsoft stressed that this system is still beta, retail version of "Windows 8" is expected to be officially released later in 2012. Codename: 8284.0.winmain.120216-1840.
Windows 8 is divided into the traditional Windows interface and the Metro interface; two interfaces can be free to switch from the user's preferences. Metro style user interface known as the Start screen, how to switch between traditional desktop and Start screen, the most efficient way is to use the keyboard "Win key" Moreover, the traditional desktop to switch to the Start screen can do this that (move the cursor to the lower left corner is the earlier versions of the Windows Start button, it will "start screen" button is clicked on it), the start screen switch to the traditional desktop you can click on the "Desktop" icon. Metro is the function of the rectangular graphical interface combo box is a signature design of the Zune. The beginning of the interface is the use of Microsoft's smart phone system, Windows Phone platform.
Metro, the UI, is an interface display technology, like Apple iOS, Google's Android interface. The biggest difference is: the latter two are to apply as the main rendering objects, while the Metro interface to emphasize that the information itself, rather than redundant interface elements. Display function of the next part of the interface elements on the main function is to prompt the user "here for more information. In visual effects, which contribute to the formation of an immersive feel. Metro style interface gives the user a glance and go experience the concept of the interface also introduction of Windows8 operating system.
1. Start VS11
2. Create an MVP-aborted newsreader engineering
3. Insert a combox with a webview
4. The Webview named for the web
5. Combox named for the com
6. Related blog links in XAML inside the insert as the combox of child
7. Insert button to jump switch
8. Click the button to add an event
9. Choice for a set combox
10.Add the following code for the button
11. Double-click the run to see results
开发基于C++ 运行在Windows8的metro界面的新闻阅读器
美国微软公司2012年2月29日发布了新一代操作系统“视窗8”的消费者预览版,供用户免费下载体验。新系统采用全新的Metro风格用户界面,各种应用程序、快捷方式等能以动态方块的样式呈现在屏幕上,用户可自行将常用的浏览器、社交网络、游戏等添加到这些方块中。“视窗8”还抛弃了旧版本“视窗”系统一直沿用的工具栏和“开始”菜单。要安装“视窗8”消费者预览版,用户计算机的配置需要达到“视窗7”的硬件要求;为运行一些特殊功能,还需要具备高分辨率的显示器、触屏显示器等。微软强调这一系统仍属测试版,“视窗8”的零售版有望于2012年晚些时候正式发布。开发代号为:8284.0.winmain.120216-1840。
Windows 8分为Windows传统界面和Metro界面,两个界面可以由用户的喜好自由切换。 Metro风格新操作界面被称为 “开始屏幕”, 如何切换传统桌面与“开始屏幕”呢,最快捷的方式就是使用键盘的“Win键”,再者传统桌面切换到“开始屏幕”可以这么操作(光标移动到左下角也就是旧 版Windows开始按钮那,就会出现“开始屏幕”按钮点击就可以了),而“开始屏幕”切换到传统桌面则可以直接点击“桌面”图标。 Metro是长方图形的功能界面组合方块,是Zune的招牌设计。刚开始该界面被运用在微软的智能手机系统Windows Phone平台中。
metro UI是一种界面展示技术,和苹果的iOS、谷歌的Android界面最大的区别在于:后两种都是以应用为主要呈现对象,而Metro界面强调的是信息本身,而不是冗余的界面元素。显示下一个界面的部分元素的功能上的作用主要是提示用户“这儿有更多信息”。同时在视觉效果方面,这有助于形成一种身临其境的感觉。 Metro风格界面要带给用户的是glance and go 的体验,该界面概念同样被引入Windows8操作系统中。
1.启动VS11
2.创建一个MVP-newsreader工程
3.插入一个combox与一个webview
4.将Webview命名为web
5.将combox命名为com
6.在XAML里面插入相关博客相关链接作为combox的子项
7,插入按钮作为跳转开关
8.为按钮点击添加事件
9.为combox设置选择项为1
10.为按钮添加下列代码
11.双击运行看效果
Author's Bio
The MVP Monday Series is created by Melissa Travers. In this series we work to |