Windows 7 and Windows Vista Sidebar gadgets

Source: Internet
Author: User

If you are using an operating system that is WIN7 or Windows Vista version, you will use the sidebar gadget.

One day, a friend asked me how this sidebar gadget is made, I checked, this thing is actually divided into two types of gadgets, one is called "Sidebar gadget sidebar", there is a call "SideShow", and the use of development technology is not the same, The former you can only a little bit of web development technology can, the latter requires a certain C + + programming basis.

Here we first talk about the production process of sidebar.

The first bar, we talk about configuration

In the file of the sidebar widget project, you must have a basic configuration file called a "gadget.xml" file that determines how the program starts and what the program's properties are. We can make changes in the Chinese language below, of course, if we are very familiar with it, it doesn't matter.

<?xml version= "1.0" encoding= "Utf-8"?> 
<gadget> 
  <name> This is the name of the program </name> 
  < Namespace>windows.sdk</namespace> 
  <version> Program version control information </version> 
  <author name= " Author's name "> 
    <info url=" http://author's visit website "  /> 
    <logo src=" author's logo.png "  /> 
  </author > 
  <copyright>& #169, author's copyright .</copyright> 
  <description> Procedure Basic Description </description > 
  <icons> 
    <icon height= "width=" "src=" program icon. png "  /> 
  </icons> 
  

Let's take a look at how these configurations are displayed in gadgets, which is an official description of the picture:

Here I want to explain a key place, all the text files written must be stored in a UTF-8 way, remember.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.