Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

converting TForm win32 app to Win7 gadget (delphi)

What is the process of converting win32 application (a small popup window actually) to win7 gadget? Do I need to convert my exe to activex component, can I still use TForm ?

it would be nice to have support for both Win7 + Vista.

like image 292
Tom Avatar asked Oct 27 '09 08:10

Tom


2 Answers

The Windows Vista/7 gadgets are essentially mini-HTML applications. The user interface is composed of pages containing regular HTML, CSS ,images and potentially ActiveX controls.

So the only way to use your win32 application into a gadget is convert the application to a Activex Control.

You can read these articles

Activex

  • Building ActiveX Controls with Delphi (This article is old but is still useful)
  • Delphi and Active Forms
  • Converting a standard Delphi Form to an ActiveForm

Gadgets

  • Introduction to the Gadget Platform
  • Developing a Gadget for Windows Sidebar

Bye.

like image 127
RRUZ Avatar answered Nov 17 '22 13:11

RRUZ


If you are able to read German, there is a tutorial at www.delphipraxis.net. Perhaps someone may translate it to English...

like image 35
Uwe Raabe Avatar answered Nov 17 '22 13:11

Uwe Raabe