音乐软件和Visual Studio之间的通信 [英] Communication between Music Software and Visual Studio
本文介绍了音乐软件和Visual Studio之间的通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我正在尝试构建一个可以与音乐编辑软件进行通信的应用程序,当我使用命令"SendKeys.send("{w}")时会出现此问题;因为执行它,音乐编辑软件应该复制一个样本 与"w"相关的声音键盘上的琴键,但是什么也没有发生.同时,如果我使用真正的键盘或Windows 10的虚拟键盘,一切正常.
Hello, i'm trying to built an application that can communicate with a Music Editing software, the problem born when i use the command "SendKeys.send("{w}")" 'cause executing it the Music Editing software should reproduce a sample sound associated with the "w" key on keyboard, but nothing happen. Meanwhile if i use the real Keyboard or the virtual one of Windows 10 all work fine.
有人可以帮助我吗?非常感谢!
Somebody could help me? Thanks a lot!
推荐答案
发送键时,音乐编辑程序是否具有键盘焦点?
Does the music editing program have the keyboard focus when the key is sent, meaning is it the foreground window when your application sends the key?
这篇关于音乐软件和Visual Studio之间的通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文