将TForm win32应用程式转换成Win7小工具(delphi) [英] converting TForm win32 app to Win7 gadget (delphi)
问题描述
将win32应用程序(实际上是一个小型弹出窗口)转换为win7小工具的过程是什么?
我需要将我的exe转换为activex组件,是否仍然可以使用TForm?
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 ?
对于Win7 + Vista来说,这是非常好的支持。 / p>
it would be nice to have support for both Win7 + Vista.
推荐答案
Windows Vista / 7小工具本质上是微型HTML应用程序。用户界面由包含常规HTML,CSS,图像和潜在 ActiveX控件的页面组成。
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.
所以使用您的win32应用程序的唯一方法将一个小工具转换为ActiveX控件。
So the only way to use your win32 application into a gadget is convert the application to a Activex Control.
您可以阅读这些文章
- 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
- Introduction to the Gadget Platform
- Developing a Gadget for Windows Sidebar
再见。
这篇关于将TForm win32应用程式转换成Win7小工具(delphi)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!