Share via


Gadget Samples For Windows Sidebar

[ The Windows Gadget Platform/Sidebar is available for use in the following versions of Windows: Windows 7, Windows Vista, and Windows Server 2008. It may be altered or unavailable in subsequent versions. ]

This overview provides details about the gadget samples that support the Windows Sidebar documentation.

Instructions

The gadget samples can be downloaded as a standalone package from the Microsoft Download Center or as part of the Windows SDK. If you install the Windows SDK and do not modify the default installation path, the gadget samples are installed at %ProgramFiles%\Microsoft SDKs\Windows\[version number]\Samples\winui\Sidebar\.

Note

These samples demonstrate specific features of the Windows Vista Sidebar and, consequently, do not necessarily follow application development best practices.

 

Gadget Samples

Hello World

Demonstrates a simple 'Hello World' gadget.

Flyouts

Demonstrates gadget flyout functionality.

Settings

Demonstrates gadget settings functionality.

Docking

Demonstrates the gadget docking functionality.

Debugging

Demonstrates gadget debugging functionality.

Text and Graphics

Demonstrates the g:background, g:image, g:text elements and the gimage protocol of the Windows Vista Sidebar.