2

我在尝试着:

  1. 使用 Visual C++ 编写的程序作为 Skype for Business 中的插件

或者

  1. 使用某种类型的跟踪器使程序窗口跟随(附加到)Skype for Business 用户界面的底部。

任何建议,或帮助从哪里开始?

我发现以下链接将使用 Windows 脚本工具,例如 AutoIt 或 AutoHotkey。我不确定这是否是正确的方法。

https://www.reddit.com/r/AutoHotkey/comments/3ck7ak/tie_a_gui_to_a_window_ideas/ https://www.autoitscript.com/forum/topic/120474-attaching-a-gui-to-another-window/

如果这是正确的方法,那么,我从哪里开始呢?如果这不是正确的方法,我还能做什么?

这个问题似乎与此链接重复。然而,这个问题被丢弃了。

4

1 回答 1

0

此 AutoHotkey 脚本允许您将记事本窗口附加到资源管理器窗口:

#Persistent
SetTimer, attach_window, 200 
Return 

    attach_window: 
IfWinNotExist ahk_class CabinetWClass ; explorer
    return ; do nothing
IfWinNotExist ahk_class Notepad
    return
; otherwise:
; retrieve the position and size of the explorer window:
WinGetPos, X, Y, Width, Height, ahk_class CabinetWClass
; attach the notepad window to the right side of the explorer window:
WinMove, ahk_class Notepad,, X+Width, Y
; To make the notepad window attach itself to the bottom of the explorer window use:
; WinMove, ahk_class Notepad,, X, Y+Height
Return

https://autohotkey.com/docs/commands/SetTimer.htm

https://autohotkey.com/docs/commands/WinGetPos.htm

https://autohotkey.com/docs/commands/WinMove.htm

使用附带的 Window Spy 实用程序来获取有关您要使用的窗口的各种信息。

于 2018-12-29T13:02:42.300 回答