精易论坛

标题: 怎么获取逍遥模拟器对应的MEmuHyperv句柄 [打印本页]

作者: xinzhihong    时间: 2023-1-14 01:08
标题: 怎么获取逍遥模拟器对应的MEmuHyperv句柄
大佬们怎么获取逍遥模拟器对应的MEmuHyperv句柄,雷电可以用雷电官方命令,但是逍遥命令没有获取MEmuHyperv句柄,怎么能获取并对应每个模拟器呢

作者: 15039346689    时间: 2023-1-14 01:08
逍遥模拟器取窗口句柄
https://125.confly.eu.org/forum.php?mod=viewthread&tid=14673363
(出处: 精易论坛)

作者: xinzhihong    时间: 2023-1-14 01:31
15039346689 发表于 2023-1-14 01:28
逍遥模拟器取窗口句柄
https://125.confly.eu.org/forum.php?mod=viewthread&tid=14673363
(出处: 精易论坛)

不是主窗口 是MEmuHyperv的句柄
作者: 15039346689    时间: 2023-1-14 01:32
xinzhihong 发表于 2023-1-14 01:31
不是主窗口 是MEmuHyperv的句柄

善用搜索功能 论坛先搜索下 好多例子的
作者: xinzhihong    时间: 2023-1-14 01:47
15039346689 发表于 2023-1-14 01:32
善用搜索功能 论坛先搜索下 好多例子的

主句柄随便找  MEmuHyperv 没有看见
作者: qixi001    时间: 2023-7-15 18:54
可以一级一级的往下找
作者: qixi001    时间: 2023-7-15 18:54
.版本 2
.支持库 spec

父hwnd = 窗口_取句柄 (, , “Qt5QWindowIcon”, “逍遥模拟器”)
子hwnd = 窗口_取句柄 (父hwnd, , “Qt5QWindowIcon”, “MainWindowWindow”)
子hwnd = 窗口_取句柄 (子hwnd, , “Qt5QWindowIcon”, “CenterWidgetWindow”)
子hwnd = 窗口_取句柄 (子hwnd, , “Qt5QWindowIcon”, “RenderWindowWindow”)
调试输出 (子hwnd)
dm_ret = 大漠.后台_绑定Ex (子hwnd, “dx2”, “dx.mouse.position.lock.api|dx.mouse.position.lock.message|dx.mouse.focus.input.api|dx.mouse.focus.input.message|dx.mouse.clip.lock.api|dx.mouse.input.lock.api|dx.mouse.state.api|dx.mouse.api|dx.mouse.cursor|dx.mouse.raw.input”, “dx.keypad.input.lock.api|dx.keypad.state.api|dx.keypad.api”, “”, 0)





欢迎光临 精易论坛 (https://125.confly.eu.org/) Powered by Discuz! X3.4