O'Reilly logo

Pro Windows 8 Development with HTML5 and JavaScript by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 13

images

Using Menus & Dialogs

In this chapter, I show you how to create two kinds of popup UI controls. The first, the WinJS.UI.Menu control, is used to create context menus, which allow the user to perform actions directly on elements in your app layout. The Menu control is flexible and has some useful features, but I find the mechanism by which users activate context menus to be less than obvious, which means that careful thought is required when using this control.

The second control I describe in this chapter is slightly different from the others I describe in this book. The MessageDialog control is part of the Windows namespace and doesn’t ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required