aardio嵌入外部程序测试
import win.ui; /*DSG{{*/ var winform = win.form(text="aardio form";right=759;bottom=469) winform.add() /*}}*/ import winex; import process; process.executeInvoke("D:\ffmpeg\hotkeyp\hotkeyp.exe"); var hwnd = winex.waitVisible("Form") win.setParent(hwnd,winform.hwnd) win.setPos(hwnd,0,0) win.modifyStyle(winform.hwnd,,0x2000000/*_WS_CLIPCHILDREN*/) winform.show(0x3/*_SW_MAXIMIZE*/) winform.show() win.loopMessage();本文链接:http://80c.cc/ez/652.html
发表评论: