converting TForm win32 app to Win7 gadget (delphi)

拜拜、爱过 提交于 2019-11-30 11:11:34

问题


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.


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/1629401/converting-tform-win32-app-to-win7-gadget-delphi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!