如何在我的应用程序中嵌入 Adobe Photoshop
我们正在开发一款软件,可以自动执行 Photoshop 中的许多关键活动。
该应用程序针对新手。
在此应用程序中,我想将 Photoshop 的窗口嵌入到我的应用程序窗口中。目前 Photoshop 在自己的窗口中单独运行。
如何让它在应用程序窗口中给定空间的特定位置运行?
We are developing a software that will automate many crucial activities in Photoshop.
This application is targeted for newbies.
In this application I want to embed Photoshop's window in my applications window. Currently Photoshop runs separately in its own window.
How can I get it to run in a particular location in given space in my application window?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
怎么样:使用
FindWindow
查找 Photoshop 的窗口句柄,然后使用SetParent
将其嵌入到您的表单/面板中。您可能还需要最大化并删除 Photoshop 窗口的边框,请参阅 Windows API 以获取有关如何执行此操作的更多详细信息。How about this: find Photoshop's window handle using
FindWindow
, and after that useSetParent
to embed it into your form/panel. You might also need to maximize and remove borders from Photoshop's window, see Windows API for more details on how to do this.我不知道有什么 API 可以让您将 Photoshop 嵌入到另一个应用程序中,而且我认为该 API 不存在。但是,为什么您不能使用 ActionScript 或 Photoshop 中的本机插件来完成您想要的任务呢?这几乎完成了同样的事情,只是方向不同。
I don't know of any API to let you embed Photoshop into another application, and I don't think that API exists. However, why can't you accomplish what you want using ActionScript or a native plug-in inside Photoshop? This is accomplishing almost the same thing, just from a different direction.