There is a program clock. How to make it "fixed" on the desktop, that is, so that when you go to it, the clock is displayed. I do not know which side to take on it. Something like a widget for Windows 7.

  • What is a program fixed on the desktop? Do you mean a widget, like a weather widget in standard Windows? And by the way, please check the target version of Windows. - Kromster
  • Yes, like a widget. Windows 7 - Simon

1 answer 1

A simple example of creating a gadget without programming (the gadget itself is an html page):

Create two files:

gadget.xml - gadget manifest

<?xml version="1.0" encoding="utf-8" ?> <gadget> <name>Hello World!</name> <version>1.0</version> <hosts> <host name="sidebar"> <base type="HTML" apiVersion="1.0.0" src="gadget.html" /> <permissions>full</permissions> <platform minPlatformVersion="0.3" /> </host> </hosts> </gadget> 

gadget.html - the main gadget file

 <!DOCTYPE html> <html> <head> <title></title> <style> body { width: 130px; height: 30px; } </style> </head> <body> <p>Hello World!</p> </body> </html> 

Zip it with a gadget extension.

This is the distribution kit of the gadget. Install. More details are written here .

If you need it on delphi, then look at this article .