You are here
Home > Latest Posts > Latest News > Developer News > You can now create Secondary Tiles directly from your desktop application

You can now create Secondary Tiles directly from your desktop application

Secondary tiles

Developers can now implement secondary tiles feature from the desktop application by leveraging the Desktop Bridge. This feature can be put to use starting with the Windows 10 Insider Preview Build 16199.

A secondary tile provides a consistent, efficient way for users to directly access specific areas within a packaged app from the Start screen. A developer can selectively choose the areas within the application for be able to pin to start, and also users have the option of whether or not to pin a secondary tile to the Start screen.

The procedure to add a Secondary tile from your WPF or Winforms is very similar to a pure UWP application, however there are a few things to remember.

If you have a Win32 desktop application or a desktop application you need to specify your main window handle (HWND) in the API. The SecondaryTile displays a modal dialog to the user to get a confirmation from the user.

If a desktop application does not configure the SecondaryTile object to specify the owner window for modal dialogs, this object will return inaccurate data or errors.

To configure a SecondaryTile object in a desktop application that uses the Desktop Bridge, follow the steps on this page  

Source

Shafat

Shafat has more than 5 years of Tech journalism experience. He likes to write about latest Tech and Gadgets. He is a proud Lumia 950 owner and Windows fan. He has been covering Tech and Gadget news on other well-known Tech sites GadgetOx and Nokiapoweruser since long. He loves to code and is a proficient developer.
Write to him at Email: [email protected]

Top