Click here to Skip to main content
15,886,199 members
Articles / Desktop Programming / Win32

Super Simple Live Tile Notification Using an Image (C++)

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
11 Sep 2012Ms-PL 7.2K  
This sample demonstrates how to use the Tile Template, specifically the TileSquareImage and an image.
//
// MainPage.xaml.h
// Declaration of the MainPage class.
//

#pragma once

#include "MainPage.g.h"

namespace LiveTileFun
{
	/// <summary>
	/// An empty page that can be used on its own or navigated to within a Frame.
	/// </summary>
	public ref class MainPage sealed
	{
	public:
		MainPage();

	protected:
		virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
	private:
		void DemoTile(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
		void DemoTile1(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
	};
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Instructor / Trainer Microsoft
United States United States
Sam Stokes works for Microsoft as a technology evangelist and is focused on working with colleges, students and professors.

Comments and Discussions