问题描述
将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 那就太好了.
it would be nice to have support for both Win7 + Vista.
推荐答案
Windows Vista/7 小工具本质上是 mini-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
再见.
这篇关于将 TForm win32 应用程序转换为 Win7 小工具(delphi)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!