Gadget Samples for Windows Sidebar

    Sample gadgets that demonstrate the functionality of the Windows Sidebar scripting elements.
    • Version:

      File Name:


      Date Published:


      File Size:

      605 KB

        These gadget samples are intended to demonstrate the functionality of the Windows Sidebar scripting elements. Most of the code snippets found throughout the Sidebar Reference documentation are extracted directly from the gadget code provided here.

        Here’s a rundown and brief description of each of the gadget samples:

        Hello World
        Demonstrates a simple 'Hello World' gadget.

        Demonstrates gadget flyout functionality.

        Demonstrates gadget settings functionality.

        Demonstrates the gadget docking functionality.

        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.
    • Supported Operating System

      Windows Vista

        1. Click the Download button on this page to start the download, or choose a different language from the drop-down list and click Go.

        2. Do one of the following:
          • To start the installation immediately, click Open or Run this program from its current location.

          • To copy the download to your computer for installation at a later time, click Save or Save this program to disk.

        3. When running the self-extracting .exe, you will be prompted for a location to save the contents of the file ( Browse to, or type, your desired location and select OK.

        4. Open the archive.

        5. Double-click a .gadget file of interest.

        6. Click Install when prompted with the Windows Sidebar installation dialog.

    Popular downloads

      • 01

        DirectX End-User Runtime Web Installer

        The Microsoft DirectX® End-User Runtime provides updates to 9.0c and previous versions of DirectX — the core Windows® technology that drives high-speed multimedia and games on the PC.

      • 02

        Malicious Software Removal Tool

        This tool checks your computer for infection by specific, prevalent malicious software (including Blaster, Sasser, and Mydoom) and helps to remove the infection if it is found. Microsoft will release an updated version of this tool on the second Tuesday of each month.

      • 03

        Microsoft Security Essentials

        Microsoft Security Essentials provides real-time protection for your home or small business PC that guards against viruses, spyware, and other malicious software.

      • 04

        Windows 7 Upgrade Advisor

        Download and run the Windows 7 Upgrade Advisor to see if your PC is ready for Windows 7. It scans your hardware, devices, and installed programs for known compatibility issues, gives you guidance on how to resolve potential issues found, and recommends what to do before you upgrade.

    Loading your results, please wait...

    Free PC updates

    • Security patches
    • Software updates
    • Service packs
    • Hardware drivers

    Microsoft Suggests

    Download the latest Internet Explorer browser today.
    Upgrade your Internet Explorer
    Download the latest browser for Windows.
    Free download