Free Sample
+ Collection

Mastering Windows 8 C++ App Development

Pavel Yosifovich

A practical guide to developing Windows Store apps with C++ and XAML
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849695022
Paperback304 pages

About This Book

  • Details the most important features of C++, XAML, and WinRT for building fantastic Windows Store apps
  • Full of detailed and engaging code samples that can be used as a basis for your own projects
  • Provides a clear overview of Windows Runtime and C++/CX

Who This Book Is For

If you are a C++ developer who wants to utilize the combined power of COM, WinRT, C++/CX, and XAML to build Store apps for the new Windows 8 platform, then this book is for you. Prior experience with XAML-based technologies is not required.

Table of Contents

Chapter 1: Introduction to Windows 8 Apps
Introducing Windows 8
Desktop apps versus Store apps
The Windows Runtime
Language projections
Creating your first Store application
Chapter 2: COM and C++ for Windows 8 Store Apps
Welcome to C++11
COM and WinRT
WinRT metadata
The Windows Runtime Library
The Application Binary Interface
Asynchronous operations
Using existing libraries
The Windows Runtime class library
Chapter 3: Building UI with XAML
Chapter 4: Layout, Elements, and Controls
Introducing layout
Layout panels
Working with elements and controls
Chapter 5: Data Binding
Understanding data binding
Element-to-element binding
Object-to-element binding
Binding failures
Change notifications
Binding to collections
Customizing a data view
Introduction to MVVM
Chapter 6: Components, Templates, and Custom Elements
Windows Runtime Components
Custom control templates
Custom elements
Custom panels
Custom drawn elements
Chapter 7: Applications, Tiles, Tasks, and Notifications
Application lifecycle
Live tiles
Using toast notifications
Push notifications
Background tasks
Background transfers
Chapter 8: Contracts and Extensions
Other contracts and extensions
Chapter 9: Packaging and the Windows Store
The application manifest
The application view state
Packaging and validating

What You Will Learn

  • Leverage your existing C++ skills with this new and exciting platform
  • Discover how to effectively use C++/CX to call Windows Runtime APIs
  • Integrate XAML for fast and fluid user interfaces
  • Create custom controls for special UI scenarios
  • Learn how to integrate your application with Windows 8 by implementing contracts
  • Build data-driven apps with XAML, data binding, and MVVM

In Detail

Windows 8 provides an unprecedented opportunity for developers to create applications for a new and exciting platform, for an entirely new market. Leveraging modern C++ and the new Windows Runtime, this book guides you through the many facets of WinRT whilst using modern C++ features for ultimate power and performance.

"Mastering Windows 8 C++ App Development" shows you how to create Windows Store apps that use many of the new features and functionality available for Windows 8. You'll discover how you can harness the power of the new Windows Runtime with C++ combined with XAML for the creation of fantastic user experiences.

Starting with coverage of C++/CX (a set of extensions that make working with WinRT easier) and user interface design with XAML, this book shows you how to use major Windows 8 features, including Live Tiles and Contracts, while leveraging common patterns such as data binding and the Model View ViewModel (MVVM). You'll discover how WinRT works, its various capabilities, and how it can best be leveraged using C++11 and Visual Studio 2012.


Read More