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

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

      1. <tfoot id='lYqMP'></tfoot>

        Winforms:插入符号位置的屏幕位置

        时间:2023-06-08

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

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

                    <tbody id='vvkke'></tbody>

                  本文介绍了Winforms:插入符号位置的屏幕位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何找到标准 Winforms TextBox 的插入符号的屏幕位置?

                  How can I find the screen position of the caret for a standard Winforms TextBox?

                  推荐答案

                  您只能使用本机互操作来做到这一点:GetCaretPos

                  You can do it only with native interop: GetCaretPos

                  [DllImport("user32.dll")]
                  [return: MarshalAs(UnmanagedType.Bool)]
                  static extern bool GetCaretPos(out Point lpPoint);
                  

                  这篇关于Winforms:插入符号位置的屏幕位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:文本框自动完成无法正常工作 下一篇:如何在不禁用的情况下使 WinForms TextBox 中的文本不可选择?

                  相关文章

                    <bdo id='Ob79P'></bdo><ul id='Ob79P'></ul>

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

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