Export (0) Print
Expand All

Gadget Samples For Windows Sidebar

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 standard install location, the gadget samples can be found 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.

Gadget Flyout

Demonstrates gadget Flyout functionality.

Gadget Settings

Demonstrates gadget Settings functionality.

Gadget Docking

Demonstrates the gadget docking functionality.

Environment Variables

Demonstrates how to get the value of an environment variable.

Sidebar State

Demonstrates how to get the Sidebar dock state.

Machine Details

Demonstrates how to get details about the user's machine.

System Diagnostics

Demonstrates how to write an Application event log entry.

Gadget 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.

Time and Sound

Demonstrates how to expose system sounds and time settings.

System Shell

Demonstrates how to expose system shell information.

Windows Contacts

Demonstrates how to access the Windows Contacts store.

Windows Mail

Demonstrates how to access the Windows Mail message store.

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK

Community Additions

Show:
© 2014 Microsoft