<i id='vTe1Q'><tr id='vTe1Q'><dt id='vTe1Q'><q id='vTe1Q'><span id='vTe1Q'><b id='vTe1Q'><form id='vTe1Q'><ins id='vTe1Q'></ins><ul id='vTe1Q'></ul><sub id='vTe1Q'></sub></form><legend id='vTe1Q'></legend><bdo id='vTe1Q'><pre id='vTe1Q'><center id='vTe1Q'></center></pre></bdo></b><th id='vTe1Q'></th></span></q></dt></tr></i><div id='vTe1Q'><tfoot id='vTe1Q'></tfoot><dl id='vTe1Q'><fieldset id='vTe1Q'></fieldset></dl></div>
      <tfoot id='vTe1Q'></tfoot>

      <small id='vTe1Q'></small><noframes id='vTe1Q'>

        • <bdo id='vTe1Q'></bdo><ul id='vTe1Q'></ul>

        <legend id='vTe1Q'><style id='vTe1Q'><dir id='vTe1Q'><q id='vTe1Q'></q></dir></style></legend>
      1. 有没有办法以编程方式判断系统是否启用了触摸?

        时间:2023-10-24

        <small id='TajFs'></small><noframes id='TajFs'>

        <tfoot id='TajFs'></tfoot>
      2. <i id='TajFs'><tr id='TajFs'><dt id='TajFs'><q id='TajFs'><span id='TajFs'><b id='TajFs'><form id='TajFs'><ins id='TajFs'></ins><ul id='TajFs'></ul><sub id='TajFs'></sub></form><legend id='TajFs'></legend><bdo id='TajFs'><pre id='TajFs'><center id='TajFs'></center></pre></bdo></b><th id='TajFs'></th></span></q></dt></tr></i><div id='TajFs'><tfoot id='TajFs'></tfoot><dl id='TajFs'><fieldset id='TajFs'></fieldset></dl></div>

        <legend id='TajFs'><style id='TajFs'><dir id='TajFs'><q id='TajFs'></q></dir></style></legend>
          <tbody id='TajFs'></tbody>

                  <bdo id='TajFs'></bdo><ul id='TajFs'></ul>
                  本文介绍了有没有办法以编程方式判断系统是否启用了触摸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我试图弄清楚如何以编程方式判断 Windows 7 机器是否启用了触控.是否有任何触摸 API(托管或非托管)可以帮助我实现这一目标?或者也许我可以检查注册表中的某些内容?

                  I'm trying to figure out how to programmatically tell if a Windows 7 machine has touch enabled. Are there any touch API's (managed or unmanaged) that can help me achieve this? Or perhaps something in the registry I can check?

                  推荐答案

                  使用GetSystemMetrics 以查找 SM_MAXIMUMTOUCHES 设置.

                  如果有数字转换器,则非零系统;否则,0.

                  Nonzero if there are digitizers in the system; otherwise, 0.

                  SM_MAXIMUMTOUCHES 返回最大值的合计最大值每个支持的联系人数量系统中的数字化仪.如果系统只有单点触控数字化仪,返回值为 1.如果系统有多点触控数字化仪,回归值是同时的数量硬件可以提供的联系方式.

                  SM_MAXIMUMTOUCHES returns the aggregate maximum of the maximum number of contacts supported by every digitizer in the system. If the system has only single-touch digitizers, the return value is 1. If the system has multi-touch digitizers, the return value is the number of simultaneous contacts the hardware can provide.

                  这篇关于有没有办法以编程方式判断系统是否启用了触摸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在 C# 中隐藏 Vista/Win 7 上的 Start Orb 下一篇:如何以编程方式将文件夹添加到用户的收藏夹(在 Windows 资源管理器中)?

                  相关文章

                  <tfoot id='O4Vyn'></tfoot>

                    <i id='O4Vyn'><tr id='O4Vyn'><dt id='O4Vyn'><q id='O4Vyn'><span id='O4Vyn'><b id='O4Vyn'><form id='O4Vyn'><ins id='O4Vyn'></ins><ul id='O4Vyn'></ul><sub id='O4Vyn'></sub></form><legend id='O4Vyn'></legend><bdo id='O4Vyn'><pre id='O4Vyn'><center id='O4Vyn'></center></pre></bdo></b><th id='O4Vyn'></th></span></q></dt></tr></i><div id='O4Vyn'><tfoot id='O4Vyn'></tfoot><dl id='O4Vyn'><fieldset id='O4Vyn'></fieldset></dl></div>

                    <legend id='O4Vyn'><style id='O4Vyn'><dir id='O4Vyn'><q id='O4Vyn'></q></dir></style></legend>

                    <small id='O4Vyn'></small><noframes id='O4Vyn'>

                      • <bdo id='O4Vyn'></bdo><ul id='O4Vyn'></ul>