.net – 在桌面下打开和关闭Windows 8触摸键盘tabtip
发布时间:2020-12-13 21:23:40 所属栏目:Windows 来源:网络整理
导读:我需要从 Windows 8(桌面winform .NET)下的程序中关闭tabtip键盘. 我发现需要时打开它,运行TabTip.exe来显示Windows 8 Touch键盘,但我无法在需要时关闭它! 我试图用process.kill来杀死这个过程,但是它没有用,有人知道怎么做了吗? 问候 让 – 克洛德· 尝试
我需要从
Windows 8(桌面winform .NET)下的程序中关闭tabtip键盘.
我发现需要时打开它,运行TabTip.exe来显示Windows 8 Touch键盘,但我无法在需要时关闭它! 我试图用process.kill来杀死这个过程,但是它没有用,有人知道怎么做了吗? 问候
尝试以下 – 使用TabTip替换Osk
公共类Form1 Private oskProcess As Process Private Sub openButton_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles openButton.Click If Me.oskProcess Is Nothing OrElse Me.oskProcess.HasExited Then If Me.oskProcess IsNot Nothing AndAlso Me.oskProcess.HasExited Then Me.oskProcess.Close() End If Me.oskProcess = Process.Start("osk") End If End Sub Private Sub closeButton_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles closeButton.Click If Me.oskProcess IsNot Nothing Then If Not Me.oskProcess.HasExited Then 'CloseMainWindow would generally be preferred but the OSK doesn't respond. Me.oskProcess.Kill() End If Me.oskProcess.Close() Me.oskProcess = Nothing End If End Sub 结束班 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Windows API一日一练 38 SetWindowPos函数
- winforms – .NET ListView和Windows 7
- .net – 什么时候需要Windows SDK for MSBuild?
- .net – 如何在Windows上为任务栏创建工具栏?
- windows – 哪里可以找到外观漂亮且Vista外观相似的用户界面
- windows-7 – 错误0x80070570:如何删除损坏和不可读的文件
- 在Windows 8 Metro App(C#/ XAML)中同时播放两个声音
- Windows Concole中的希腊字母
- windows – 用户是否需要管理员权限才能安装Flash播放器?
- WPF:xaml中的权力
推荐文章
站长推荐
- windows-server-2012 – 远程桌面服务安装/执行模
- window.onbeforeunload的等价于AngularJS中的路由
- 使用.NET Compact Framework 3.5在Windows CE设备
- x11 – 如果我在远程服务器中安装更好的视频卡,远
- 便宜的Windows驱动程序签名64位Windows 7
- windows-8 – 使用AngularJS for Windows Store
- 遗传算法 – 带有Time Windows的TSP的交叉运算符
- windows-server-2008-r2 – Windows Server 2008
- 如何在Windows上更改SVN中的帮助语言?
- 窗口 – 我应该提供我的应用程序的x64版本吗?
热点阅读