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.